From 05b4a732b984ec326cac085631060968d4706b17 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Mon, 21 May 2018 23:16:36 -0700 Subject: [PATCH] [build] Run CI for Go 1.7.x - 1.10.x (#84) --- .travis.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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 ./... +