language: go

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