Enable code coverage with scrutinizer

This commit is contained in:
Michael Butler 2018-03-19 20:08:44 -04:00
parent 9da5a65032
commit 84616cbe14

37
.scrutinizer.yml Normal file
View 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