Skip to content

Commit

Permalink
Update CI settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrylinooo committed Oct 20, 2020
1 parent 3644519 commit 7b03f77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:

- name: Start Redis service.
run: sudo service redis-server start

- name: Start MongoDB service
run: sudo service mongodb start

- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ before_script:
- echo yes | pecl install -f apcu
- echo yes | pecl install -f apcu_bc
- echo yes | pecl install -f memcache
- echo yes | pecl install -f
- echo yes | pecl install -f mongodb-1.7.5
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# Print php.ini for debugging purpose.
Expand Down

0 comments on commit 7b03f77

Please sign in to comment.