dep/.travis.yml

27 строки
756 B
YAML

---
language: go
sudo: false
notifications:
email: false
matrix:
include:
- os: linux
go: 1.7.x
- os: linux
go: 1.8
- os: linux
go: tip
# OSX wait times are unbearable right now. Re-enable when we can.
#- os: osx
#go: 1.7.x
install:
- echo "This is an override of the default install deps step in travis."
script:
- go build -v ./cmd/dep
- go vet $(go list ./... | grep -v vendor)
- test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"
- go test -race $(go list ./... | grep -v vendor)
- go build ./hack/licenseok
- find . -path ./vendor -prune -o -type f -name "*.go" -printf '%P\n' | xargs ./licenseok
- ./hack/validate-vendor.bash