Always run on the latest stable Go version. (#402)
Only run vet on the latest Go version.
This commit is contained in:
committed by
Kamil Kisiel
parent
cf6680bc62
commit
9e1f5955c0
@@ -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 ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user