summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-01-06 22:52:35 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-01-06 22:52:35 +0100
commitadaf2b89bc51aa17f17be3e188b789b349929850 (patch)
treedbfb88cdb249cb13d503eae93b2a4d2c4bb0be97 /.travis.yml
parentb7b43c1d69c59007b40925205e4e24962b3b6278 (diff)
downloadrpg-adaf2b89bc51aa17f17be3e188b789b349929850.tar.gz
rpg-adaf2b89bc51aa17f17be3e188b789b349929850.tar.bz2
integrate code coverage reports in scrutinizer-ci
not sure if we end up using it
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8942e69da..219ef16d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,4 +9,8 @@ notifications:
- "chat.freenode.net#dokuwiki"
on_success: change
on_failure: change
-script: cd _test && phpunit --stderr --verbose
+script: cd _test && phpunit --stderr --verbose --coverage-clover=coverage.clover
+
+after_script:
+ - wget https://scrutinizer-ci.com/ocular.phar
+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover