TravisCI: Set vendor experiment variable earlier. (#731)
This sets the GO15VENDOREXPERIMENT environment variable before glide is installed so vendoring is used when installing it as well.
This commit is contained in:
parent
711f33450c
commit
b6b1e55d1e
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@ go:
|
||||||
sudo: false
|
sudo: false
|
||||||
before_install:
|
before_install:
|
||||||
- gotools=golang.org/x/tools
|
- gotools=golang.org/x/tools
|
||||||
|
- export GO15VENDOREXPERIMENT=1
|
||||||
install:
|
install:
|
||||||
- go get -v github.com/Masterminds/glide
|
- go get -v github.com/Masterminds/glide
|
||||||
- glide install
|
- glide install
|
||||||
|
@ -12,5 +13,4 @@ install:
|
||||||
- go get -v github.com/golang/lint/golint
|
- go get -v github.com/golang/lint/golint
|
||||||
script:
|
script:
|
||||||
- export PATH=$PATH:$HOME/gopath/bin
|
- export PATH=$PATH:$HOME/gopath/bin
|
||||||
- export GO15VENDOREXPERIMENT=1
|
|
||||||
- ./goclean.sh
|
- ./goclean.sh
|
||||||
|
|
Loading…
Reference in a new issue