diff --git a/.travis.yml b/.travis.yml index db5e560..5c814da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,16 @@ sudo: false matrix: include: - - go: 1.3 - - go: 1.4 - - go: 1.5 - - go: 1.6 + - go: "1.x" + env: "LATEST=true" + - go: "1.3.x" + - go: "1.4.x" + - go: "1.5.x" + - go: "1.6.x" + - go: "1.7.x" + - go: "1.8.x" + - go: "1.9.x" + - go: "1.10.x" - go: tip allow_failures: - go: tip @@ -17,5 +23,6 @@ install: script: - go get -t -v ./... - diff -u <(echo -n) <(gofmt -d .) - - go vet $(go list ./... | grep -v /vendor/) + - if [ "${LATEST}" = "true" ]; then go vet ./...; fi - go test -v -race ./... +