Skip to content

Commit ee74ba6

Browse files
committed
Ensure PECL's php_ini is set when installing extension on Travis
See: https://travis-ci.org/mongodb/mongo-php-library/jobs/97290573
1 parent 3c931e8 commit ee74ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ before_script:
3131
- if dpkg --compare-versions ${SERVER_VERSION} le "2.4"; then export SERVER_SERVICE=mongodb; else export SERVER_SERVICE=mongod; fi
3232
- if ! nc -z localhost 27017; then sudo service ${SERVER_SERVICE} start; fi
3333
- mongod --version
34+
- pecl config-set php_ini ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
3435
- pecl install -f mongodb-${DRIVER_VERSION}
3536
- php --ri mongodb
3637
- composer install --dev --no-interaction --prefer-source

0 commit comments

Comments
 (0)