added scrutinizer config #158 (#161)

This commit is contained in:
Kevin Papst
2018-06-08 00:16:12 +02:00
committed by GitHub
parent 8a19af4efc
commit 01bce05da4
3 changed files with 59 additions and 6 deletions

46
.scrutinizer.yml Normal file
View File

@@ -0,0 +1,46 @@
build:
environment:
node: v8.11.2
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
tests: true
tests:
override:
-
command: 'vendor/bin/phpunit --exclude-group integration --coverage-clover=unit tests/'
coverage:
file: 'unit'
format: 'clover'
-
command: 'vendor/bin/phpunit --group integration --coverage-clover=integration tests/'
coverage:
file: 'integration'
format: 'clover'
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- '*/build/*'
- 'node_modules/*'
- 'public/*'
- 'var/*'
- 'vendor/*'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true