Skip to content

Commit 9cf6a39

Browse files
committed
Added secure gcp environments variables
1 parent c873451 commit 9cf6a39

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ before_install:
3636
- ./bin/ci/scripts/install_couchdb.sh;
3737
- ./bin/ci/scripts/install_couchbase.sh;
3838
- ./bin/ci/scripts/setup_mongodb.sh
39+
- ./bin/ci/scripts/setup_gcp.sh;
3940
- pecl channel-update pecl.php.net;
41+
- yes | pecl install -f grpc-stable;
4042
- yes | pecl install -f mongodb-stable;
4143
- yes | pecl install -f apcu-stable || true;
4244
- yes | pecl install -f memcache;

bin/ci/scripts/install_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
composer self-update
44
composer validate
55
composer install
6-
composer require doctrine/couchdb:dev-master phpfastcache/phpssdb:~1.1.0 predis/predis:~1.1.0 mongodb/mongodb:^1.9 triagens/arangodb:^3.8 aws/aws-sdk-php:~3.0
6+
composer require doctrine/couchdb:dev-master phpfastcache/phpssdb:~1.1.0 predis/predis:~1.1.0 mongodb/mongodb:^1.9 triagens/arangodb:^3.8 aws/aws-sdk-php:~3.0 google/cloud-firestore:^1.20

bin/ci/scripts/setup_gcp.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
printenv BASE64_GOOGLE_APPLICATION_CREDENTIALS | base64 --decode > /tmp/phpfastcache-gac.json

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"phpfastcache/phpssdb": "~1.1.0",
5252
"doctrine/couchdb": "^dev-master#9eeb9e5",
5353
"triagens/arangodb": "^3.8",
54+
"google/cloud-firestore": "^1.20",
5455
"aws/aws-sdk-php": "~3.0"
5556
},
5657
"conflict": {

0 commit comments

Comments
 (0)