Skip to content

Commit 3ba5c43

Browse files
committed
Manually register mongodb.so for PHP 5.4 builds on Travis
See: travis-ci/travis-ci#5143
1 parent 3c931e8 commit 3ba5c43

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
@@ -32,6 +32,7 @@ before_script:
3232
- if ! nc -z localhost 27017; then sudo service ${SERVER_SERVICE} start; fi
3333
- mongod --version
3434
- pecl install -f mongodb-${DRIVER_VERSION}
35+
- if [ "$(php -v | grep 'PHP 5.4')" ]; then echo 'extension = mongodb.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
3536
- php --ri mongodb
3637
- composer install --dev --no-interaction --prefer-source
3738
- ulimit -c

0 commit comments

Comments
 (0)