Commit f6d621d3 by Carsten Brandt

skip mongodb on HHVM

parent 6d97ef13
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
mongod --version mongod --version
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini if (php --version | grep -i HipHop > /dev/null); then
echo "mongodb does not work on HHVM currently, skipping"
else
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
fi
# enable text search # enable text search
mongo --eval 'db.adminCommand( { setParameter: true, textSearchEnabled : true})' mongo --eval 'db.adminCommand( { setParameter: true, textSearchEnabled : true})'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment