2019-06-05 22:40:29 +00:00
|
|
|
language: go
|
2019-06-20 05:39:19 +00:00
|
|
|
|
2019-06-05 22:40:29 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-06-20 05:39:19 +00:00
|
|
|
- go: 1.7.x
|
|
|
|
- go: 1.8.x
|
|
|
|
- go: 1.9.x
|
|
|
|
- go: 1.10.x
|
|
|
|
- go: 1.11.x
|
|
|
|
- go: 1.x
|
|
|
|
env: LATEST=true
|
|
|
|
- go: tip
|
|
|
|
allow_failures:
|
2019-06-05 22:40:29 +00:00
|
|
|
- go: tip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- # Skip
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2019-06-20 05:39:19 +00:00
|
|
|
- if [[ "$LATEST" = true ]]; then go vet .; fi
|
2019-06-05 22:40:29 +00:00
|
|
|
- go test -v -race ./...
|