forked from Mirrors/oauth2
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:
parent
7512128337
commit
928c2dd7dc
|
@ -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/...
|
||||
|
|
Loading…
Reference in New Issue