diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 00000000..d73cd743 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,2 @@ +tools: + external_code_coverage: true diff --git a/.travis.yml b/.travis.yml index 5d867b0a..ec4eb5ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: php -before_script: - - cd phpunit php: - 5.5 - 5.4 - 5.3 +script: phpunit --coverage-clover=coverage.clover +before_script: + - cd phpunit +after_script: + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover