mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 02:27:48 +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
|
||||
|
||||
script:
|
||||
- composer test
|
||||
- composer test-ci
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
|
|
@ -72,7 +72,8 @@
|
|||
}
|
||||
},
|
||||
"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": {
|
||||
"branch-alias": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user