2017-05-11 22:39:54 +08:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
2018-01-16 21:20:59 +08:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2017-05-11 22:39:54 +08:00
|
|
|
install:
|
|
|
|
- go get -v cloud.google.com/go/...
|
|
|
|
script:
|
2018-01-16 21:20:59 +08:00
|
|
|
- openssl aes-256-cbc -K $encrypted_a8b3f4fc85f4_key -iv $encrypted_a8b3f4fc85f4_iv -in keys.tar.enc -out keys.tar -d
|
|
|
|
- tar xvf keys.tar
|
|
|
|
- GCLOUD_TESTS_GOLANG_PROJECT_ID="dulcet-port-762"
|
|
|
|
GCLOUD_TESTS_GOLANG_KEY="$(pwd)/dulcet-port-762-key.json"
|
|
|
|
GCLOUD_TESTS_GOLANG_FIRESTORE_PROJECT_ID="gcloud-golang-firestore-tests"
|
|
|
|
GCLOUD_TESTS_GOLANG_FIRESTORE_KEY="$(pwd)/gcloud-golang-firestore-tests-key.json"
|
2017-07-23 15:51:42 +08:00
|
|
|
./run-tests.sh $TRAVIS_COMMIT
|
2017-05-11 22:39:54 +08:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
# The GCLOUD_TESTS_API_KEY environment variable.
|
|
|
|
secure: VdldogUOoubQ60LhuHJ+g/aJoBiujkSkWEWl79Zb8cvQorcQbxISS+JsOOp4QkUOU4WwaHAm8/3pIH1QMWOR6O78DaLmDKi5Q4RpkVdCpUXy+OAfQaZIcBsispMrjxLXnqFjo9ELnrArfjoeCTzaX0QTCfwQwVmigC8rR30JBKI=
|