mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
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>
14 lines
262 B
YAML
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/...
|