Merge pull request #3 from tianon/drone

Fix GOPATH after Drone mucks with it
This commit is contained in:
Michael Crosby 2014-11-05 14:31:11 -08:00
commit 43fb7ac975
1 changed files with 1 additions and 2 deletions

View File

@ -1,10 +1,9 @@
image: dockercore/libcontainer image: dockercore/libcontainer
env:
- AUTO_GOPATH=1
script: script:
# Setup the DockerInDocker environment. # Setup the DockerInDocker environment.
- /dind - /dind
- sed -i 's!docker/docker!docker/libcontainer!' /go/src/github.com/docker/docker/hack/make/.validate - 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-dco
- bash /go/src/github.com/docker/docker/hack/make/validate-gofmt - 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 - make direct-test