From b9bc6958de1af8eacd7b819a10b241fb4f2df18f Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Wed, 24 Jun 2015 08:23:01 +0200 Subject: [PATCH] Added codeclimate --- .codeclimate.yml | 6 ++++++ .travis.yml | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .codeclimate.yml 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: