mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 21:30:17 +08:00
getting mongo right on travis
This commit is contained in:
@@ -12,7 +12,6 @@ services:
|
||||
- mongodb
|
||||
|
||||
install:
|
||||
# - pecl -s -q install mongo && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
||||
- composer self-update && composer --version
|
||||
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
|
||||
- echo 'elasticsearch version ' && curl http://localhost:9200/
|
||||
@@ -20,6 +19,7 @@ install:
|
||||
- tests/unit/data/travis/memcache-setup.sh
|
||||
- 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
|
||||
|
||||
before_script:
|
||||
- mysql -e 'CREATE DATABASE yiitest;';
|
||||
|
||||
Reference in New Issue
Block a user