Use scrutinizer for test coverage
This commit is contained in:
parent
97275ba404
commit
f817818bc6
16
.scrutinizer.yml
Normal file
16
.scrutinizer.yml
Normal 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
|
@ -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:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user