From adaf2b89bc51aa17f17be3e188b789b349929850 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 6 Jan 2014 22:52:35 +0100 Subject: integrate code coverage reports in scrutinizer-ci not sure if we end up using it --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit v1.2.3