diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 0b0464f7..37700c2c 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -2,12 +2,14 @@ filter: excluded_paths: [ 'vendor/*', 'tests/*', 'samples/*', 'src/PhpWord/Shared/PCLZip/*' ] before_commands: - - "composer self-update" - "composer install --prefer-source --dev" tools: - php_code_coverage: + external_code_coverage: enabled: true + timeout: 700 + php_code_coverage: + enabled: false test_command: phpunit -c phpunit.xml.dist php_sim: true php_pdepend: true diff --git a/.travis.yml b/.travis.yml index 41e3bebb..67e9e8fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,3 +63,5 @@ script: after_script: ## PHPDocumentor - bash .travis_shell_after_success.sh + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ce823a54..09524450 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -22,6 +22,10 @@ + + \ No newline at end of file