From bdf4400ecafb82f0c121ed5db1ae70639e7f4018 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 7 Apr 2016 13:25:49 -0500 Subject: [PATCH] TravisCI: Remove external go vet reference. (#74) The vet tool moved into the Go source tree as of Go 1.5. Its previous location in the x/tools repo was deprecated at that time and has now been removed. This commit updates the .travis.yml configuration to avoid fetching vet from the old location and to simply use the version now available as part of the standard Go install. Also, while here, remove the check for changing the tool path since it is no longer needed. --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b73fc25..e80c0c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,9 @@ go: sudo: false before_install: - gotools=golang.org/x/tools - - if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi install: - go get -d -t -v ./... - go get -v $gotools/cmd/cover - - go get -v $gotools/cmd/vet - go get -v github.com/bradfitz/goimports - go get -v github.com/golang/lint/golint script: