mirror of https://github.com/docker/docs.git
commit
6e8ef790af
12
.travis.yml
12
.travis.yml
|
@ -4,5 +4,17 @@ go:
|
||||||
- 1.3
|
- 1.3
|
||||||
- 1.4
|
- 1.4
|
||||||
|
|
||||||
|
# let us have speedy Docker-based Travis workers
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
install:
|
||||||
|
- export DOCKER_PATH="${GOPATH%%:*}/src/github.com/docker/docker"
|
||||||
|
- mkdir -pv "$DOCKER_PATH/project/make"
|
||||||
|
- ( cd "$DOCKER_PATH/project/make" && wget -c 'https://raw.githubusercontent.com/docker/docker/master/project/make/'{.validate,validate-dco,validate-gofmt} )
|
||||||
|
- sed -i 's!docker/docker!docker/swarm!' "$DOCKER_PATH/project/make/.validate"
|
||||||
|
- go get -t -v ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- bash "$DOCKER_PATH/project/make/validate-dco"
|
||||||
|
- bash "$DOCKER_PATH/project/make/validate-gofmt"
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|
Loading…
Reference in New Issue