Skip to content

Commit a12d857

Browse files
authored
Update Travis CI to build against the latest Go (#167)
* Update Travis CI to build against the latest Go * Update vet to only run on the latest Go version.
1 parent f7981e8 commit a12d857

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ sudo: false
33

44
matrix:
55
include:
6-
- go: 1.3
7-
- go: 1.4
8-
- go: 1.5
9-
- go: 1.6
10-
- go: 1.7
6+
- go: 1.3.x
7+
- go: 1.4.x
8+
- go: 1.5.x
9+
- go: 1.6.x
10+
- go: 1.7.x
11+
- go: 1.8.x
12+
- go: 1.9.x
13+
- go: 1.10.x
14+
- go: 1.11.x
15+
- go: 1.x
16+
env: LATEST=true
1117
- go: tip
1218
allow_failures:
1319
- go: tip
@@ -18,5 +24,5 @@ install:
1824
script:
1925
- go get -t -v ./...
2026
- diff -u <(echo -n) <(gofmt -d .)
21-
- go vet $(go list ./... | grep -v /vendor/)
27+
- if [[ "$LATEST" = true ]]; then go vet $(go list ./... | grep -v /vendor/); fi
2228
- go test -v -race ./...

0 commit comments

Comments
 (0)