rclone/vendor/github.com/Azure/azure-sdk-for-go/.travis.yml
2018-03-19 15:51:38 +00:00

26 lines
637 B
YAML

sudo: false
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
- master
matrix:
allow_failures:
- go: master
install:
- go get -u github.com/golang/lint/golint
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
script:
- bash rungas.sh
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
- test -z "$(go build $(go list ./... | grep -v vendor) | tee /dev/stderr)"
- test -z "$(go fmt $(go list ./... | grep -v vendor) | tee /dev/stderr)"
- go vet $(go list ./... | grep -v vendor)
- go test $(sh ./findTestedPackages.sh)