2017-07-25 00:38:41 +02:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
language: go
|
|
|
|
|
2017-09-30 16:27:27 +02:00
|
|
|
go:
|
2017-07-25 00:38:41 +02:00
|
|
|
- 1.8
|
2017-09-30 16:27:27 +02:00
|
|
|
- 1.7
|
|
|
|
- 1.6
|
2017-07-25 00:38:41 +02: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:
|
|
|
|
- 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/...
|