From 44c0e97a1284809e91c62fa62774328febd9d768 Mon Sep 17 00:00:00 2001 From: Bocharsky Victor Date: Sun, 12 Jul 2015 14:32:55 +0300 Subject: [PATCH] Fix Scrutinizer failing --- .scrutinizer.yml | 4 +--- .travis.yml | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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