1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Uploading coverage information via ocular.phar

This commit is contained in:
Marco Pivetta 2015-12-29 16:54:36 +01:00
parent e37e1818c6
commit 3e87a1c4b8

View File

@ -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 - ENABLE_SECOND_LEVEL_CACHE=1 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml --exclude-group performance,non-cacheable,locking_functional
after_script: 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: matrix:
include: include: