Make coverage works with scrutinizer and coveralls
This commit is contained in:
parent
1c88e35c45
commit
e8b6e3f3bf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue