1language: go
2
3go:
4  - 1.6.x
5  - 1.7.x
6  - 1.8.x
7  - 1.9.x
8
9go_import_path: google.golang.org/appengine
10
11install:
12  - go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v appengine)
13  - mkdir /tmp/sdk
14  - curl -o /tmp/sdk.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.40.zip"
15  - unzip -q /tmp/sdk.zip -d /tmp/sdk
16  - export PATH="$PATH:/tmp/sdk/go_appengine"
17  - export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py
18
19script:
20  - goapp version
21  - go version
22  - go test -v google.golang.org/appengine/...
23  - go test -v -race google.golang.org/appengine/...
24  - goapp test -v google.golang.org/appengine/...
25