From c5bec84d1963260297932a1b7a1753c8420717a7 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Sun, 25 Feb 2018 09:45:17 -0800 Subject: [PATCH] Run go vet and golint with 1.10 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3aea80d..8ebad45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ go: - tip before_install: - - "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then go get -v github.com/golang/lint/golint; fi" + - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then go get -v github.com/golang/lint/golint; fi" install: - go get -v -t ./... @@ -19,7 +19,7 @@ install: script: - go test -race -cpu 1,4 -v - go test -race -v -tags appengine - - "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then go vet ./...; fi" - - "if [[ $TRAVIS_GO_VERSION == 1.7 ]]; then golint .; fi" + - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then go vet ./...; fi" + - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then golint .; fi" sudo: false