diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 000000000..f1770ee51 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,6 @@ +languages: + PHP: true +exclude_paths: + - tests/* + - benchmarks/* + - scripts/* diff --git a/.travis.yml b/.travis.yml index 51c32bf6f..737c18237 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,10 @@ before_script: - composer install --prefer-source script: - - vendor/bin/phpunit + - vendor/bin/phpunit --coverage-clover build/logs/clover.xml + +after_script: + - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN vendor/bin/test-reporter notifications: slack: