From 2b2a000ff51d77e8bac229864b2d1f139275fe18 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 18 Dec 2013 00:46:09 +0100 Subject: [PATCH] added mongodb to travis --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 127e5a0..716bb48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,18 +9,22 @@ services: - redis-server - memcached - elasticsearch + - mongodb -before_script: +install: + - pecl -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 - - mysql -e 'CREATE DATABASE yiitest;'; - - psql -U postgres -c 'CREATE DATABASE yiitest;'; +# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist - echo 'elasticsearch version ' && curl http://localhost:9200/ - tests/unit/data/travis/apc-setup.sh - tests/unit/data/travis/memcache-setup.sh - tests/unit/data/travis/cubrid-setup.sh - tests/unit/data/travis/sphinx-setup.sh +before_script: + - mysql -e 'CREATE DATABASE yiitest;'; + - psql -U postgres -c 'CREATE DATABASE yiitest;'; + script: - phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor