2017-11-23 07:22:33 +01:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2018-07-07 06:18:14 +02:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
|
|
|
|
|
|
|
go_import_path: google.golang.org/appengine
|
2017-11-23 07:22:33 +01:00
|
|
|
|
|
|
|
install:
|
2018-07-07 06:18:14 +02:00
|
|
|
- go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v appengine)
|
|
|
|
- mkdir /tmp/sdk
|
|
|
|
- curl -o /tmp/sdk.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.40.zip"
|
|
|
|
- unzip -q /tmp/sdk.zip -d /tmp/sdk
|
|
|
|
- export PATH="$PATH:/tmp/sdk/go_appengine"
|
|
|
|
- export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py
|
2017-11-23 07:22:33 +01:00
|
|
|
|
|
|
|
script:
|
2018-07-07 06:18:14 +02:00
|
|
|
- goapp version
|
2017-11-23 07:22:33 +01:00
|
|
|
- go version
|
|
|
|
- go test -v google.golang.org/appengine/...
|
|
|
|
- go test -v -race google.golang.org/appengine/...
|
2018-07-07 06:18:14 +02:00
|
|
|
- goapp test -v google.golang.org/appengine/...
|