Travis: Do not run PhpUnit through Composer

We need to run PhpUnit with xDebug enabled in order to collect
code coverage information. It is disabled for performance reasons,
though: https://github.com/travis-ci/travis-ci/issues/5780.
This commit is contained in:
Franz Liedke 2016-03-21 23:12:09 +09:00
parent 42902f18b1
commit 77b9669bba
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,7 @@ before_script:
- composer install
script:
- composer test-ci
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml
notifications:
email:

View File

@ -72,8 +72,7 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit -c tests/phpunit.xml",
"test-ci": "vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml"
"test": "vendor/bin/phpunit -c tests/phpunit.xml"
},
"extra": {
"branch-alias": {