We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5076ff1 commit 9d218a7Copy full SHA for 9d218a7
.travis.yml
@@ -27,6 +27,8 @@ install:
27
- sudo apt-get install ${SERVER_PACKAGE}
28
29
before_script:
30
+ - if dpkg --compare-versions ${SERVER_VERSION} le "2.4"; then export SERVER_SERVICE=mongodb; else export SERVER_SERVICE=mongod; fi
31
+ - if ! nc -z localhost 27017; then sudo service ${SERVER_SERVICE} start; fi
32
- mongod --version
33
- pecl install -f mongodb-${DRIVER_VERSION}
34
- php --ri mongodb
0 commit comments