Update TracisCI for Go 1.4 release.
Our policy is to only ensure the code compiles for the latest Go release minus one version. Since Go 1.4 has now been released, this commit updates TravisCI to remove Go 1.2 from the build matrix and add Go 1.3. Also, go vet changed locations in between Go 1.3 and Go 1.4, so a check has been added to download the appropriate version based on which version of Go is running the integration tests. Finally, the previous removed Go tip entry in the build matrix has been reintroduced since it will now work again.
This commit is contained in:
parent
e0d536640d
commit
43b4cad8b6
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
language: go
|
||||
go:
|
||||
- 1.2
|
||||
- 1.3
|
||||
- release
|
||||
- tip
|
||||
install:
|
||||
- go get -d -t -v ./...
|
||||
- go get -v code.google.com/p/go.tools/cmd/vet
|
||||
- if [ "$TRAVIS_GO_VERSION" = "1.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 -v github.com/GeertJohan/fgt
|
||||
- go get -v github.com/golang/lint/golint
|
||||
script:
|
||||
|
|
Loading…
Reference in a new issue