diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a8b300a..3eaf0fa 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,7 +1,4 @@ tools: - php_code_coverage: - enabled: false - external_code_coverage: true php_cs_fixer: enabled: true extensions: @@ -9,3 +6,4 @@ tools: command: php-cs-fixer config: level: psr2 + external_code_coverage: true diff --git a/.travis.yml b/.travis.yml index 4a31526..0923ab0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,11 @@ matrix: before_script: - composer self-update - - composer install --prefer-source + - composer install --dev --prefer-source script: - - phpunit --coverage-clover=coverage.clover + - vendor/bin/phpunit --coverage-clover=coverage.clover + +after_success: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover