2018-07-30 21:45:15 +00:00
|
|
|
language: go
|
2019-04-17 17:15:55 +00:00
|
|
|
|
2018-07-30 21:45:15 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.7.x
|
|
|
|
- go: 1.8.x
|
|
|
|
- go: 1.9.x
|
|
|
|
- go: 1.10.x
|
2019-04-17 17:15:55 +00:00
|
|
|
- go: 1.11.x
|
|
|
|
- go: 1.x
|
|
|
|
env: LATEST=true
|
2018-07-30 21:45:15 +00:00
|
|
|
- go: tip
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- # Skip
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2019-04-17 17:15:55 +00:00
|
|
|
- if [[ "$LATEST" = true ]]; then go vet .; fi
|
2018-07-30 21:45:15 +00:00
|
|
|
- go test -v -race ./...
|