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

github.com/nextcloud/twofactor_u2f.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-03-07 16:17:07 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-03-07 16:17:07 +0300
commit5a8c1bff16df43a8df16d7d4bdeac3b02342d210 (patch)
treed6f1b9d927576cd733e2a4686e5249b72bf9c3aa /.travis.yml
parentbaea8bc01fd29d6aa456c99e7e3d0318727f6451 (diff)
Add scrutinizer to track php test coverage
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 97a96ec..5f764b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ services:
env:
global:
- CORE_BRANCH=master
+ - PHP_COVERAGE=TRUE
matrix:
- DB=sqlite
@@ -72,6 +73,10 @@ script:
- cd tests
- phpunit --configuration phpunit.xml
+ # Publish PHP coverage 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 clover.xml; fi
+
matrix:
include:
- php: 7