2017-08-26 20:54:14 +03:00
|
|
|
language: go
|
|
|
|
|
2017-08-27 14:50:43 +03:00
|
|
|
go:
|
|
|
|
- 1.7.5
|
|
|
|
- 1.8.3
|
|
|
|
- 1.9
|
|
|
|
- tip
|
|
|
|
|
2017-08-26 20:54:14 +03:00
|
|
|
matrix:
|
2017-08-27 14:50:43 +03:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- GO_FILES=$(find . -iname '*.go' | grep -v /vendor/)
|
|
|
|
- PKGS=$(go list ./... | grep -v /vendor/)
|
|
|
|
|
|
|
|
script:
|
|
|
|
- test -z $(gofmt -s -l $GO_FILES)
|
|
|
|
- go test -v -race $PKGS
|
|
|
|
- go vet $PKGS
|