mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 06:48:31 +08:00
Travis: Generate code coverage report when running tests
This commit is contained in:
parent
0c624f6c45
commit
42902f18b1
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user