Linked travis, coveralls and scrutinizer
This commit is contained in:
parent
39d8ec7db5
commit
653f3d308c
|
@ -11,3 +11,6 @@ checks:
|
|||
php:
|
||||
code_rating: true
|
||||
duplication: true
|
||||
|
||||
tools:
|
||||
external_code_coverage: true
|
|
@ -17,7 +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
|
||||
script: phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue