-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.scrutinizer.yml
38 lines (38 loc) · 945 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
inherit: true
checks:
php: true
filter:
excluded_paths:
- 'composer.lock'
- 'vendor/*'
- 'Tests/*'
build_failure_conditions:
- 'elements.rating(< D).new.exists'
- 'project.metric_change("scrutinizer.test_coverage", < -0.01)'
build:
environment:
php: '7.1'
mysql: false
memcached: false
node: false
mongodb: false
redis: false
postgresql: false
elasticsearch: false
neo4j: false
rabbitmq: false
variables:
SYMFONY_DEPRECATIONS_HELPER: 'weak'
tests:
override:
-
command: 'php vendor/bin/phpunit --coverage-clover=coverage'
coverage:
file: 'coverage'
format: 'php-clover'
nodes:
tests: true
analysis:
tests:
override:
- php-scrutinizer-run