Fix GOPATH after Drone mucks with it

Signed-off-by: Andrew Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2014-11-05 15:21:15 -07:00
parent 1485c08fa8
commit eb0bc72222
1 changed files with 1 additions and 2 deletions

View File

@ -1,10 +1,9 @@
image: dockercore/libcontainer
env:
- AUTO_GOPATH=1
script:
# Setup the DockerInDocker environment.
- /dind
- sed -i 's!docker/docker!docker/libcontainer!' /go/src/github.com/docker/docker/hack/make/.validate
- bash /go/src/github.com/docker/docker/hack/make/validate-dco
- bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
- export GOPATH="$GOPATH:/go:$(pwd)/vendor" # Drone mucks with our GOPATH
- make direct-test