69839adc1c
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.
15 lines
314 B
YAML
15 lines
314 B
YAML
language: go
|
|
go:
|
|
- 1.5.3
|
|
- 1.6
|
|
sudo: false
|
|
before_install:
|
|
- gotools=golang.org/x/tools
|
|
install:
|
|
- go get -d -t -v ./...
|
|
- go get -v $gotools/cmd/cover
|
|
- go get -v github.com/bradfitz/goimports
|
|
- go get -v github.com/golang/lint/golint
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- ./goclean.sh
|