diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index f1770ee51..000000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,6 +0,0 @@ -languages: - PHP: true -exclude_paths: - - tests/* - - benchmarks/* - - scripts/* diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 000000000..963a7af45 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,3 @@ +tools: + external_code_coverage: + timeout: 600 diff --git a/.travis.yml b/.travis.yml index df0cade7d..c04149d95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,11 @@ before_script: - composer install --prefer-source script: - - vendor/bin/phpunit --coverage-clover build/logs/clover.xml + - vendor/bin/phpunit --coverage-clover clover.xml after_script: - - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN vendor/bin/test-reporter + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover clover.xml matrix: allow_failures: diff --git a/README.md b/README.md index 50460f30e..7cf80eeef 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # InfluxDB PHP SDK [![Build Status](https://travis-ci.org/corley/influxdb-php-sdk.svg?branch=master)](https://travis-ci.org/corley/influxdb-php-sdk) -[![Code Climate](https://codeclimate.com/github/corley/influxdb-php-sdk/badges/gpa.svg)](https://codeclimate.com/github/corley/influxdb-php-sdk) -[![Test Coverage](https://codeclimate.com/github/corley/influxdb-php-sdk/badges/coverage.svg)](https://codeclimate.com/github/corley/influxdb-php-sdk/coverage) +[![Code Coverage](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/?branch=master) [![Latest Stable Version](https://poser.pugx.org/corley/influxdb-sdk/v/stable)](https://packagist.org/packages/corley/influxdb-sdk) [![License](https://poser.pugx.org/corley/influxdb-sdk/license)](https://packagist.org/packages/corley/influxdb-sdk)