Fix TravisCI build for Go release version.
This commit is contained in:
parent
7214218925
commit
39d758c2c3
1 changed files with 4 additions and 1 deletions
|
@ -3,9 +3,12 @@ go:
|
|||
- 1.3
|
||||
- release
|
||||
- tip
|
||||
before_install:
|
||||
- gotools=golang.org/x/tools
|
||||
- if [ "$TRAVIS_GO_VERSION" = "release" ] || [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
|
||||
install:
|
||||
- go get -d -t -v ./...
|
||||
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then go get -v code.google.com/p/go.tools/cmd/vet; else go get -v golang.org/x/tools/cmd/vet; fi
|
||||
- go get $gotools/cmd/vet
|
||||
- go get -v github.com/GeertJohan/fgt
|
||||
- go get -v github.com/golang/lint/golint
|
||||
script:
|
||||
|
|
Loading…
Add table
Reference in a new issue