Use scrutinizer for test coverage

This commit is contained in:
Timothy Warren 2014-03-20 10:49:15 -04:00
parent 97275ba404
commit f817818bc6
3 changed files with 18 additions and 2 deletions

16
.scrutinizer.yml Normal file
View File

@ -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

View File

@ -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:

View File

@ -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)