2017-08-05 18:17:15 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
2018-01-23 18:40:42 +00:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2017-08-05 18:17:15 +00:00
|
|
|
install:
|
|
|
|
- go get -v cloud.google.com/go/...
|
|
|
|
script:
|
2017-12-03 20:01:25 +00: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-08-05 18:17:15 +00:00
|
|
|
./run-tests.sh $TRAVIS_COMMIT
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
# The GCLOUD_TESTS_API_KEY environment variable.
|
|
|
|
secure: VdldogUOoubQ60LhuHJ+g/aJoBiujkSkWEWl79Zb8cvQorcQbxISS+JsOOp4QkUOU4WwaHAm8/3pIH1QMWOR6O78DaLmDKi5Q4RpkVdCpUXy+OAfQaZIcBsispMrjxLXnqFjo9ELnrArfjoeCTzaX0QTCfwQwVmigC8rR30JBKI=
|