From 3e87a1c4b8dff88622f607d441ed2479f0ce2e54 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 29 Dec 2015 16:54:36 +0100 Subject: [PATCH] Uploading coverage information via `ocular.phar` --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b494da77a..8bb8b5cf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,8 @@ script: - ENABLE_SECOND_LEVEL_CACHE=1 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml --exclude-group performance,non-cacheable,locking_functional after_script: - - php vendor/bin/coveralls -v + - if [[ $TRAVIS_PHP_VERSION = '5.6' && $DB = 'sqlite' ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi + - if [[ $TRAVIS_PHP_VERSION = '5.6' && $DB = 'sqlite' ]]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi matrix: include: