Drone Config: Use AUTO_GOPATH instead of hacking around.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Upstream-commit: 72fe4c8daa86158fef97dceb1bae6395c2b4e05e
Component: engine
This commit is contained in:
Andrea Luzzardi
2014-09-19 14:38:46 -07:00
parent 69e9467696
commit f94b4ccad2

View File

@ -1,12 +1,9 @@
image: dockercore/docker
env:
- GOPATH=/var/cache/drone:$DRONE_BUILD_DIR/vendor
- AUTO_GOPATH=1
- DOCKER_GRAPHDRIVER=vfs
- DOCKER_EXECDRIVER=native
script:
# Setup the go environment.
- mkdir -p /var/cache/drone/src/github.com/docker
- ln -s $DRONE_BUILD_DIR /var/cache/drone/src/github.com/docker
# Setup the DockerInDocker environment.
- hack/dind
# Validate and test.