language: go

go:
  - 1.3
  - 1.4

script:
 - go test -v ./...

language: go

go:
  - 1.3
  - 1.4

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:
 - bash "$DOCKER_PATH/project/make/validate-dco"
 - bash "$DOCKER_PATH/project/make/validate-gofmt"
 - go test -v ./...

Add DCO and gofmt checking
Add DCO and gofmt checking

Signed-off-by: Andrew Page <4b2b69742da531f1900c4c4748d7a0ecda59626a@gmail.com>
