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
|
||||
before_install:
|
||||
- gotools=golang.org/x/tools
|
||||
- export GO15VENDOREXPERIMENT=1
|
||||
install:
|
||||
- go get -v github.com/Masterminds/glide
|
||||
- glide install
|
||||
|
@ -12,5 +13,4 @@ install:
|
|||
- go get -v github.com/golang/lint/golint
|
||||
script:
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- export GO15VENDOREXPERIMENT=1
|
||||
- ./goclean.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue