mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge pull request #537 from robbieaverill/bugfix/external-code-coverage
FIX Travis builds broken with external code coverage
This commit is contained in:
commit
064701af23
@ -23,8 +23,9 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests
|
- vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- mv coverage.clover ~/build/$TRAVIS_REPO_SLUG/
|
||||||
|
- cd ~/build/$TRAVIS_REPO_SLUG
|
||||||
- wget https://scrutinizer-ci.com/ocular.phar
|
- wget https://scrutinizer-ci.com/ocular.phar
|
||||||
- cd ./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
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
||||||
|
Loading…
x
Reference in New Issue
Block a user