Merge pull request #3 from tianon/drone
Fix GOPATH after Drone mucks with it
This commit is contained in:
commit
43fb7ac975
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue