mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 22:09:48 +08:00
enable mongo textsearch on travis
This commit is contained in:
@@ -20,6 +20,8 @@ install:
|
||||
- tests/unit/data/travis/cubrid-setup.sh
|
||||
- tests/unit/data/travis/sphinx-setup.sh
|
||||
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- echo "textSearchEnabled=true" >> /etc/mongodb.conf
|
||||
- sudo service restart mongodb
|
||||
|
||||
before_script:
|
||||
- mysql -e 'CREATE DATABASE yiitest;';
|
||||
|
||||
Reference in New Issue
Block a user