From db981d0cba8806e7dd141e26242878ba9d9000fe Mon Sep 17 00:00:00 2001 From: Samuel Stauffer Date: Wed, 27 Nov 2013 17:43:36 -0800 Subject: [PATCH] Fix travis-ci config to only get vet when tip or later --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8caed210..f60f7a25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go go: - - 1.1 - - 1.1.1 + - 1.1.2 - tip branches: @@ -15,7 +14,7 @@ before_install: script: - go build ./... - go fmt ./... - - go get code.google.com/p/go.tools/cmd/vet + - (go version | grep "version go1.1") || go get code.google.com/p/go.tools/cmd/vet - go vet ./... - go test -i -race ./... - go test -v -race ./...