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:
Dave Collins 2016-08-08 13:31:17 -05:00 committed by GitHub
parent 711f33450c
commit b6b1e55d1e

View file

@ -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