From 43b4cad8b69e3056018eaeb9b2bc9bba7a42af86 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 11 Dec 2014 11:33:23 -0600 Subject: [PATCH] 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. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 748c55d63..7271d4d2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: