image: dockercore/libcontainer
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
