Update .travis.yml to invoke Docker's scripts directly

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi 2014-06-12 12:42:06 -06:00
parent f00e7f96db
commit 91b5dbe867
1 changed files with 6 additions and 8 deletions

View File

@ -1,13 +1,11 @@
language: go
go:
- 1.2.1
install:
- go get github.com/dotcloud/docker/pkg/term
- go get github.com/dotcloud/docker/pkg/system
- go get github.com/dotcloud/docker/pkg/mount
- go get -d ./...
- go get -d github.com/dotcloud/docker # just to be sure
- DOCKER_PATH="${GOPATH%%:*}/src/github.com/dotcloud/docker"
- sed -i 's!dotcloud/docker!docker/libcontainer!' "$DOCKER_PATH/hack/make/.validate"
script:
- hack/make.sh validate-dco
- hack/make.sh validate-gofmt
- bash "$DOCKER_PATH/hack/make/validate-dco"
- bash "$DOCKER_PATH/hack/make/validate-gofmt"