diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-09-19 09:12:43 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-09-19 09:12:43 +0300 |
commit | 399a36c4813d32ad8bc5006bcde94e3e215d4726 (patch) | |
tree | f66f54c51b5e32f24aecd49c7531f7a92e090208 /.travis.yml | |
parent | 04f5a95438efaa9422a00846b25767da0e40cdbb (diff) |
Fix test coverage report on unit test failure
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 97acc24..f7213fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,6 +54,7 @@ script: - ./vendor/phpunit/phpunit/phpunit --fail-on-warning -c tests/phpunit.xml - ./vendor/phpunit/phpunit/phpunit --fail-on-warning -c tests/phpunit.integration.xml +after_script: # Upload coverage report to Scrutinizer - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover tests/clover.xml; fi |