mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
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:
@@ -17,7 +17,7 @@ before_script:
|
|||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- composer test-ci
|
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@@ -72,8 +72,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vendor/bin/phpunit -c tests/phpunit.xml",
|
"test": "vendor/bin/phpunit -c tests/phpunit.xml"
|
||||||
"test-ci": "vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml"
|
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
Reference in New Issue
Block a user