TravisCI: Remove external go vet reference. (#655)
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.
This commit is contained in:
parent
8a58f8cf3a
commit
69839adc1c
1 changed files with 0 additions and 2 deletions
|
@ -5,11 +5,9 @@ go:
|
||||||
sudo: false
|
sudo: false
|
||||||
before_install:
|
before_install:
|
||||||
- gotools=golang.org/x/tools
|
- gotools=golang.org/x/tools
|
||||||
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
|
|
||||||
install:
|
install:
|
||||||
- go get -d -t -v ./...
|
- go get -d -t -v ./...
|
||||||
- go get -v $gotools/cmd/cover
|
- go get -v $gotools/cmd/cover
|
||||||
- go get -v $gotools/cmd/vet
|
|
||||||
- go get -v github.com/bradfitz/goimports
|
- go get -v github.com/bradfitz/goimports
|
||||||
- go get -v github.com/golang/lint/golint
|
- go get -v github.com/golang/lint/golint
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue