configure travis to send code coverage to scrutinizer

This commit is contained in:
Stig Lindqvist 2014-03-07 15:05:01 +13:00
parent 753c2d12d5
commit d0fec69194

View File

@ -19,4 +19,6 @@ before_script:
- cd ~/builds/ss
script:
- phpunit contentreview/tests/
- phpunit --coverage-clover=coverage.clover --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover --repository=g/silverstripe-labs/silverstripe-contentreview --revision=`cd contentreview && git rev-parse HEAD`