File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ checks:
2525 fix_identation_4spaces : true
2626 fix_doc_comments : true
2727tools :
28+ external_code_coverage : true
2829 php_code_sniffer :
2930 config :
3031 standard : PSR2
Original file line number Diff line number Diff line change @@ -27,13 +27,16 @@ matrix:
2727 - php : nightly
2828
2929before_install :
30- - phpenv config-rm xdebug.ini || echo "xdebug not available";
3130 - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/framework-bundle "$SYMFONY_VERSION"; fi
3231 - if [ "$COMPOSER_FLAGS" != "" ]; then composer update --prefer-dist --no-interaction --no-scripts $COMPOSER_FLAGS; fi;
3332
3433install :
3534 - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction
3635
3736script :
38- - vendor/bin/phpunit
37+ - vendor/bin/phpunit --coverage-clover=coverage.clover
3938 - vendor/bin/phpstan analyse
39+
40+ after_script :
41+ - wget https://scrutinizer-ci.com/ocular.phar
42+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
You can’t perform that action at this time.
0 commit comments