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 language: go
go:
- 1.2.1
install: install:
- go get github.com/dotcloud/docker/pkg/term - go get -d ./...
- go get github.com/dotcloud/docker/pkg/system - go get -d github.com/dotcloud/docker # just to be sure
- go get github.com/dotcloud/docker/pkg/mount - DOCKER_PATH="${GOPATH%%:*}/src/github.com/dotcloud/docker"
- sed -i 's!dotcloud/docker!docker/libcontainer!' "$DOCKER_PATH/hack/make/.validate"
script: script:
- hack/make.sh validate-dco - bash "$DOCKER_PATH/hack/make/validate-dco"
- hack/make.sh validate-gofmt - bash "$DOCKER_PATH/hack/make/validate-gofmt"