enable mongo textsearch on travis

This commit is contained in:
Carsten Brandt
2013-12-18 02:51:30 +01:00
parent 514a825d02
commit 6bf6d2f4e7

View File

@@ -20,6 +20,8 @@ install:
- tests/unit/data/travis/cubrid-setup.sh - tests/unit/data/travis/cubrid-setup.sh
- tests/unit/data/travis/sphinx-setup.sh - tests/unit/data/travis/sphinx-setup.sh
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "textSearchEnabled=true" >> /etc/mongodb.conf
- sudo service restart mongodb
before_script: before_script:
- mysql -e 'CREATE DATABASE yiitest;'; - mysql -e 'CREATE DATABASE yiitest;';