Enable code coverage with scrutinizer
This commit is contained in:
parent
9da5a65032
commit
84616cbe14
1 changed files with 37 additions and 0 deletions
37
.scrutinizer.yml
Normal file
37
.scrutinizer.yml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
build:
|
||||
environment:
|
||||
php:
|
||||
version: 7.0
|
||||
nodes:
|
||||
analysis:
|
||||
project_setup:
|
||||
override:
|
||||
- 'true'
|
||||
tests:
|
||||
override:
|
||||
-
|
||||
command: 'vendor/bin/phpunit --coverage-clover=clover.xml'
|
||||
coverage:
|
||||
file: 'clover.xml'
|
||||
format: 'clover'
|
||||
#- php-scrutinizer-run
|
||||
-
|
||||
command: phpcs-run
|
||||
use_website_config: true
|
||||
environment:
|
||||
node:
|
||||
version: 6.0.0
|
||||
tests: true
|
||||
filter:
|
||||
excluded_paths:
|
||||
- 'test/*'
|
||||
checks:
|
||||
php: true
|
||||
coding_style:
|
||||
php:
|
||||
indentation:
|
||||
general:
|
||||
use_tabs: true
|
||||
spaces:
|
||||
around_operators:
|
||||
concatenation: true
|
||||
Loading…
Reference in a new issue