From f817818bc697627a699fdd7c6e8627431f8f3299 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 20 Mar 2014 10:49:15 -0400 Subject: [PATCH] Use scrutinizer for test coverage --- .scrutinizer.yml | 16 ++++++++++++++++ .travis.yml | 3 ++- README.md | 1 - 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .scrutinizer.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..62d8afb --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,16 @@ +imports: + - php + +tools: + external_code_coverage: true + # PHP + php_code_sniffer: true + php_cpd: true + php_cs_fixer: true + php_mess_detector: true + php_pdepend: true + php_loc: true + php_analyzer: + config: + doc_comment_fixes: + enabled: true \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 7b028c6..1c41eec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,8 @@ script: - cd tests && phpunit --coverage-clover build/logs/clover.xml after_script: - - php vendor/bin/coveralls + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover build/clover.xml matrix: allow_failures: diff --git a/README.md b/README.md index e8e85ee..2e28d1f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ A query builder/database abstraction layer, using prepared queries for security. [![Build Status](https://secure.travis-ci.org/timw4mail/Query.png)](http://travis-ci.org/timw4mail/Query) -[![Coverage Status](https://coveralls.io/repos/timw4mail/Query/badge.png?branch=master)](https://coveralls.io/r/timw4mail/Query?branch=master) [![Latest Stable Version](https://poser.pugx.org/aviat4ion/query/v/stable.png)](https://packagist.org/packages/aviat4ion/query) [![Total Downloads](https://poser.pugx.org/aviat4ion/query/downloads.png)](https://packagist.org/packages/aviat4ion/query) [![Latest Unstable Version](https://poser.pugx.org/aviat4ion/query/v/unstable.png)](https://packagist.org/packages/aviat4ion/query)