From 928c2dd7dcd338e8f774d1ef915eaea25e8f492e Mon Sep 17 00:00:00 2001 From: Dave Day Date: Wed, 17 Dec 2014 11:12:59 +1100 Subject: [PATCH] oauth2: make sure travis runs at the target commit, not head Also, change the target Go version to 1.4 and make the 'go get' command only perform the download step (no building). Change-Id: Iafa3c218d2418b2a2681ce2c03bd1ff833afb317 Reviewed-on: https://go-review.googlesource.com/1702 Reviewed-by: Brad Fitzpatrick Reviewed-by: Burcu Dogan --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43d4e3d..01bb8d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,14 @@ language: go + go: - 1.3 - - tip + - 1.4 install: - - go get -v -tags='appengine appenginevm' golang.org/x/oauth2/... + - export GOPATH="$HOME/gopath" + - mkdir -p "$GOPATH/src/golang.org/x" + - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" + - go get -v -t -d -tags='appengine appenginevm' golang.org/x/oauth2/... script: - go test -v -tags='appengine appenginevm' golang.org/x/oauth2/...