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:
parent
e6e3b66040
commit
64922553b5
1 changed files with 2 additions and 4 deletions
|
@ -1,15 +1,13 @@
|
|||
language: go
|
||||
go:
|
||||
- 1.3.3
|
||||
- 1.4.1
|
||||
- 1.5.3
|
||||
- 1.6
|
||||
sudo: false
|
||||
before_install:
|
||||
- gotools=golang.org/x/tools
|
||||
- if [ "$TRAVIS_GO_VERSION" = "release" ]; 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:
|
||||
|
|
Loading…
Reference in a new issue