This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scrutinizer.yml
65 lines (61 loc) · 1.52 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- "tests/"
- "vendor/"
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
negation: true
build:
cache:
directories:
- vendor/
nodes:
phpcs:
environment:
php: 7.3
tests:
override:
- on_node: 1
idle_timeout: 4800
command: "phpcs-run ./"
php56:
environment:
php: 5.6
php70:
environment:
php: 7.0
php71:
environment:
php: 7.1
php72:
environment:
php: 7.2
php73-cover:
environment:
php: 7.3
tests:
override:
- on_node: 2
idle_timeout: 4800
command: "./vendor/bin/phpunit --fail-on-warning --coverage-clover ./coverage.xml"
coverage:
file: ./coverage.xml
format: php-clover
tests:
override:
- on_node: 1
idle_timeout: 4800
command: "./vendor/bin/phpunit"
build_failure_conditions:
- 'project.metric_change("scrutinizer.test_coverage", < 0)'