TravisCI: Update to latest configurations. (#76)

This updates the Go versions using when running the TravisCI integration
tests to reflect the latest supported Go versions.

Also, 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.

Finally, old tool path is no longer needed, so it has been removed.
This commit is contained in:
Dave Collins 2016-04-07 13:26:15 -05:00
parent e6e3b66040
commit 64922553b5

View file

@ -1,15 +1,13 @@
language: go language: go
go: go:
- 1.3.3 - 1.5.3
- 1.4.1 - 1.6
sudo: false sudo: false
before_install: before_install:
- gotools=golang.org/x/tools - gotools=golang.org/x/tools
- if [ "$TRAVIS_GO_VERSION" = "release" ]; 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: