Always run on the latest stable Go version. (#402)

Only run vet on the latest Go version.
This commit is contained in:
Matt Silverlock
2018-09-03 08:43:05 -07:00
committed by Kamil Kisiel
parent cf6680bc62
commit 9e1f5955c0

View File

@@ -8,6 +8,8 @@ matrix:
- go: 1.9.x - go: 1.9.x
- go: 1.10.x - go: 1.10.x
- go: 1.11.x - go: 1.11.x
- go: 1.x
env: LATEST=true
- go: tip - go: tip
allow_failures: allow_failures:
- go: tip - go: tip
@@ -18,5 +20,5 @@ install:
script: script:
- go get -t -v ./... - go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .) - diff -u <(echo -n) <(gofmt -d .)
- go tool vet . - if [[ "$LATEST" = true ]]; then go tool vet .; fi
- go test -v -race ./... - go test -v -race ./...