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.
|
||||
|
||||
[](http://travis-ci.org/timw4mail/Query)
|
||||
[](https://coveralls.io/r/timw4mail/Query?branch=master)
|
||||
[](https://packagist.org/packages/aviat4ion/query)
|
||||
[](https://packagist.org/packages/aviat4ion/query)
|
||||
[](https://packagist.org/packages/aviat4ion/query)
|
||||
|
Loading…
x
Reference in New Issue
Block a user