Upload clover.xml from Travis CI into Scrutinizer CI.

This commit is contained in:
Andreas Fischer 2014-06-01 13:17:22 +02:00
parent 8aa17c285c
commit a29b46693c

View File

@ -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"