Travis: Generate code coverage report when running tests

This commit is contained in:
Franz Liedke 2016-03-21 20:21:37 +09:00
parent 0c624f6c45
commit 42902f18b1
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ before_script:
- composer install
script:
- composer test
- composer test-ci
notifications:
email:

View File

@ -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": {