Skip to content

Commit

Permalink
Configure mongodb extension on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ravanscafi committed Sep 26, 2019
1 parent 063ef4c commit 2928b07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ cache:
services: mongodb

before_install:
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- pecl upgrade mongodb
- pecl install mongodb > /dev/null

before_script:
- composer install --no-interaction
Expand All @@ -22,4 +21,4 @@ script:
- vendor/bin/phpunit -c phpunit.xml.dist

after_success:
- if [[ $(phpenv version-name) = "7.2" ]]; then php vendor/bin/php-coveralls -v; fi
- if [[ $(phpenv version-name) = "7.3" ]]; then php vendor/bin/php-coveralls -v; fi

0 comments on commit 2928b07

Please sign in to comment.