Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-19 09:12:43 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-19 09:12:43 +0300
commit399a36c4813d32ad8bc5006bcde94e3e215d4726 (patch)
treef66f54c51b5e32f24aecd49c7531f7a92e090208 /.travis.yml
parent04f5a95438efaa9422a00846b25767da0e40cdbb (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.yml1
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