From eb0bc722229336a3f2f987052a2ce8e1256c26fc Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 5 Nov 2014 15:21:15 -0700 Subject: [PATCH] Fix GOPATH after Drone mucks with it Signed-off-by: Andrew Page --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3371f724..80d298f2 100755 --- a/.drone.yml +++ b/.drone.yml @@ -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