Commit 596345bd by Carsten Brandt

getting mongo right on travis

parent 90c99c94
...@@ -12,7 +12,6 @@ services: ...@@ -12,7 +12,6 @@ services:
- mongodb - mongodb
install: 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 self-update && composer --version
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist # - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
- echo 'elasticsearch version ' && curl http://localhost:9200/ - echo 'elasticsearch version ' && curl http://localhost:9200/
...@@ -20,6 +19,7 @@ install: ...@@ -20,6 +19,7 @@ install:
- tests/unit/data/travis/memcache-setup.sh - tests/unit/data/travis/memcache-setup.sh
- 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
before_script: before_script:
- mysql -e 'CREATE DATABASE yiitest;'; - mysql -e 'CREATE DATABASE yiitest;';
......
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