diff --git a/.travis.yml b/.travis.yml index c6f56a9b..f12b4e0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,3 +26,5 @@ script: after_success: - sh -c "if $TRAVIS_SECURE_ENV_VARS; then travis/upload-code-coverage.sh; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then php ocular.phar code-coverage:upload --format=php-clover code_coverage/clover.xml; fi"