Fixed code coverage reporting

This commit is contained in:
Christopher Pitt 2015-09-14 12:27:51 +12:00
parent 97d792429e
commit cd4f28c641

View File

@ -32,7 +32,9 @@ before_script:
script:
- vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover --repository=g/silverstripe/silverstripe-userforms
- git remote rm origin
- git remote add origin git@github.com:silverstripe/silverstripe-userforms.git
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
branches:
only: