oauth2/.travis.yml
Jaana Burcu Dogan c406a4cc4b travis: always build against tip
x packages are not guranteed to build against previous versions of
Go. The current build is failing because of:

../net/context/ctxhttp/ctxhttp.go:35: req.Cancel undefined

Change-Id: Ib7ee48455c1c2d04aa6b82e2202a3796fcf3478d
Reviewed-on: https://go-review.googlesource.com/23286
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-20 18:58:28 +00:00

14 lines
262 B
YAML

language: go
go:
- tip
install:
- 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 golang.org/x/oauth2/...
script:
- go test -v golang.org/x/oauth2/...