Browse code

Add drone.io configuration

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>

Andrea Luzzardi authored on 2014/09/20 03:00:28
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,15 @@
0
+image: dockercore/docker
1
+env:
2
+  - GOPATH=/var/cache/drone:$DRONE_BUILD_DIR/vendor
3
+  - DOCKER_GRAPHDRIVER=vfs
4
+  - DOCKER_EXECDRIVER=native
5
+script:
6
+# Setup the go environment.
7
+  - mkdir -p /var/cache/drone/src/github.com/docker
8
+  - ln -s $DRONE_BUILD_DIR /var/cache/drone/src/github.com/docker
9
+# Setup the DockerInDocker environment.
10
+  - hack/dind
11
+# Validate and test.
12
+  - hack/make.sh validate-dco validate-gofmt
13
+  - rm integration-cli/docker_cli_daemon_test.go  #FIXME: This test currently fails inside drone.
14
+  - hack/make.sh binary cross test-unit test-integration-cli test-integration