mirror of
https://github.com/flarum/core.git
synced 2025-07-20 16:21:18 +02:00
Travis: Generate code coverage report when running tests
This commit is contained in:
@@ -17,7 +17,7 @@ before_script:
|
|||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- composer test
|
- composer test-ci
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@@ -72,7 +72,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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