diff --git a/.travis.yml b/.travis.yml index 2684cac3..be2759a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,13 @@ install: - composer update --no-interaction --prefer-dist $DEPENDENCIES script: - - vendor/bin/phpunit + - vendor/bin/phpunit --coverage-clover=coverage.clover - vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests +after_script: + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover + branches: only: - master