Make coverage works with scrutinizer and coveralls

This commit is contained in:
claudiosmweb 2014-11-25 21:06:31 -02:00
parent 1c88e35c45
commit e8b6e3f3bf
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ before_script:
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
- bash tests/bin/travis.sh before
script: phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
script: phpunit -c phpunit.xml.dist
after_script:
- bash tests/bin/travis.sh after
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- php ocular.phar code-coverage:upload --format=php-clover ./tmp/clover.xml