11 lines
475 B
YAML
Executable File
11 lines
475 B
YAML
Executable File
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
|
|
- go get golang.org/x/tools/cmd/vet && go vet ./...
|
|
- make direct-test
|