Skip to content

Commit f6651b6

Browse files
committed
Fixed travis build
1 parent 8eb2811 commit f6651b6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727

2828
- name: Setup GCP environment
2929
run: ./bin/ci/scripts/setup_gcp.sh
30+
env:
31+
BASE64_GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.BASE64_GOOGLE_APPLICATION_CREDENTIALS }}
3032

3133
- name: Install dependencies
3234
run: ./bin/ci/scripts/install_dependencies.sh
@@ -41,4 +43,9 @@ jobs:
4143
run: ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1
4244

4345
- name: Run TESTS
46+
env:
47+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
48+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
49+
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
50+
GOOGLE_CLOUD_PROJECT: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
4451
run: php -f ./bin/ci/run_tests.php

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ before_install:
3838
- ./bin/ci/scripts/setup_mongodb.sh
3939
- ./bin/ci/scripts/setup_gcp.sh;
4040
- pecl channel-update pecl.php.net;
41-
- yes | travis_wait 20 pecl install -f grpc-stable > /dev/null; # This pecl install is muted due to too much output written
41+
- yes | pecl install -f grpc-stable | grep -v --line-buffered "/tmp/pear/install/grpc"; # This pecl install is partially muted due to too much output written
4242
- yes | pecl install -f mongodb-stable;
4343
- yes | pecl install -f apcu-stable || true;
4444
- yes | pecl install -f memcache;

0 commit comments

Comments
 (0)