Skip to content

Commit

Permalink
travis: remove glide, only build 1.11.x, use modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cfromknecht committed Nov 30, 2018
1 parent 2a9e437 commit 2f3be2e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
@@ -1,17 +1,19 @@
language: go
cache:
directories:
- $GOCACHE
- $GOPATH
- $GOPATH/pkg/mod
- $GOPATH/github.com/golang
- $GOPATH/gopkg.in/alecthomas
go:
- "1.9.5"
- "1.10.1"
- "1.11.x"
sudo: false
install:
- GLIDE_TAG=v0.12.3
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
- curl -L $GLIDE_DOWNLOAD | tar -xvz
- export PATH=$PATH:$PWD/linux-amd64/
- glide install
- go install . ./cmd/...
- go get -u gopkg.in/alecthomas/gometalinter.v2
- gometalinter.v2 --install
- GO111MODULE=on go install . ./cmd/...
- GO111MODULE=off go get -u gopkg.in/alecthomas/gometalinter.v2
- GO111MODULE=off gometalinter.v2 --install
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh

0 comments on commit 2f3be2e

Please sign in to comment.