1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00
restic/vendor/github.com/Azure/go-autorest/.travis.yml

25 lines
677 B
YAML
Raw Normal View History

2017-08-05 18:30:20 +00:00
sudo: false
language: go
2017-09-13 12:09:48 +00:00
go:
2017-10-22 08:07:36 +00:00
- 1.9
2017-08-05 18:30:20 +00:00
- 1.8
2017-09-13 12:09:48 +00:00
- 1.7
2017-08-05 18:30:20 +00:00
install:
- go get -u github.com/golang/lint/golint
- go get -u github.com/Masterminds/glide
- go get -u github.com/stretchr/testify
- go get -u github.com/GoASTScanner/gas
- glide install
script:
2017-10-22 08:07:36 +00:00
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
2017-08-05 18:30:20 +00:00
- test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)"
- test -z "$(golint ./autorest/... | tee /dev/stderr)"
- go vet ./autorest/...
- test -z "$(gas ./autorest/... | tee /dev/stderr | grep Error)"
- go build -v ./autorest/...
- go test -v ./autorest/...