git » remoteu2f » commit 1e5f265

travis: Update to bionic

author Alberto Bertogli
2020-04-04 15:08:10 UTC
committer Alberto Bertogli
2020-04-04 17:15:24 UTC
parent 3dafa380b257607b850905dadf9c60c1445c4403

travis: Update to bionic

This patch makes the Travis CI integration run on Ubuntu Bionic (the
latest available), and removes now-unnecessary configuration.

.travis.yml +3 -21
go.sum +3 -0

diff --git a/.travis.yml b/.travis.yml
index 0398420..8bb70d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,33 +2,15 @@
 
 language: go
 go_import_path: blitiri.com.ar/go/remoteu2f
+dist: bionic
 
 addons:
     apt:
         packages:
-            - gcc-6         # A modern GCC
             - libpam0g-dev  # for our PAM library
-        sources:
-            - ubuntu-toolchain-r-test  # Modern GCCs come from here
 
-env:
-    - CC=gcc-6
-
-install:
-    # Install dependencies, found with "glide list".
-    - go get github.com/urfave/cli
-    - go get github.com/golang/glog
-    - go get github.com/golang/protobuf/proto
-    - go get github.com/gorilla/mux
-    - go get github.com/tstranex/u2f
-    - go get golang.org/x/net/context
-    - go get golang.org/x/net/trace
-    - go get golang.org/x/oauth2
-    - go get google.golang.org/grpc
-    - go get google.golang.org/grpc/codes
-    - go get google.golang.org/grpc/credentials
-    - go get google.golang.org/grpc/credentials/oauth
-    - go get google.golang.org/grpc/metadata
+go:
+    - stable
 
 script:
     - make all
diff --git a/go.sum b/go.sum
index 2fc6e47..627e8e0 100644
--- a/go.sum
+++ b/go.sum
@@ -18,9 +18,11 @@ github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y
 github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
 github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls=
 github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
 github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
 github.com/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc=
 github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
 github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
@@ -61,6 +63,7 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3
 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
 golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
 google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
 google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
 google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE=