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 <bradfitz@golang.org>
Reviewed-by: Burcu Dogan <jbd@google.com>
This commit is contained in:
Dave Day 2014-12-17 11:12:59 +11:00
parent 7512128337
commit 928c2dd7dc
1 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,14 @@
language: go language: go
go: go:
- 1.3 - 1.3
- tip - 1.4
install: 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: script:
- go test -v -tags='appengine appenginevm' golang.org/x/oauth2/... - go test -v -tags='appengine appenginevm' golang.org/x/oauth2/...