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 <ChristophWurst@users.noreply.github.com>2017-03-14 15:24:35 +0300
committerGitHub <noreply@github.com>2017-03-14 15:24:35 +0300
commit3e10505841dcbe2be47a564dfbdd55a5c40dcf56 (patch)
tree37247bb3edc1e46b97212c36e8bc041f7ccdd772 /.travis.yml
parent5459cfb798dbccdc923223c8ab2dba839e96b4de (diff)
parentf876e480f7210d22395b4c9e0a7755e69c43256f (diff)
Merge pull request #38 from nextcloud/php-coverage
Add scrutinizer to track php test coverage
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 8dafa24..310b73d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ services:
env:
global:
- CORE_BRANCH=master
+ - PHP_COVERAGE=TRUE
matrix:
- DB=sqlite
@@ -75,6 +76,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