Commit dabeea7a by Carsten Brandt

testing: do not require php ext in composer.json and use composer phpunit on travis

parent f09bf4ea
......@@ -16,7 +16,7 @@ Thumbs.db
/vendor
# composer itself is not needed
/composer.phar
composer.phar
# composer.lock should not be committed as we always want the latest versions
/composer.lock
......@@ -24,6 +24,6 @@ Thumbs.db
.DS_Store
# phpunit itself is not needed
/phpunit.phar
phpunit.phar
# local phpunit config
/phpunit.xml
......@@ -14,6 +14,7 @@ services:
install:
- composer self-update && composer --version
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
- composer install --prefer-dist
- tests/unit/data/travis/mongodb-setup.sh
- tests/unit/data/travis/apc-setup.sh
- tests/unit/data/travis/memcache-setup.sh
......@@ -27,7 +28,7 @@ before_script:
- mongo yii2test --eval 'db.addUser("travis", "test");'
script:
- phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor
- vendor/bin/phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor
#after_script:
# - php vendor/bin/coveralls
......@@ -77,10 +77,6 @@
},
"require-dev": {
"twbs/bootstrap": "3.0.*",
"ext-curl": "*",
"ext-mongo": ">=1.3.0",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"smarty/smarty": "*",
"swiftmailer/swiftmailer": "*",
"twig/twig": "*",
......
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