diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 000000000..f09aa97b9 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,2 @@ +tools: + external_code_coverage: true \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 3825d4894..057cd1611 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,7 @@ php: - 5.3 - 5.4 - 5.5 -script: "phpunit --coverage-text" +script: + - phpunit --coverage-text --coverage-clover=coverage.clover + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover