Linked travis, coveralls and scrutinizer

This commit is contained in:
claudiosmweb 2014-11-24 12:25:19 -02:00
parent 39d8ec7db5
commit 653f3d308c
2 changed files with 6 additions and 1 deletions

View File

@ -11,3 +11,6 @@ checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage: true

View File

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