-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scrutinizer.yml
59 lines (56 loc) · 1.95 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
build:
environment:
variables:
DEBIAN_FRONTEND: 'noninteractive'
nodes:
ease-core:
environment:
variables:
DEBIAN_FRONTEND: 'noninteractive'
php:
ini:
sendmail_path: 'cat - >> /tmp/mailfile'
dependencies:
before:
- composer self-update
- composer install --no-interaction
- sudo mkdir -p /home/scrutinizer/buildfile
- sudo chown scrutinizer /home/scrutinizer/buildfile
- sudo touch /usr/bin/-1
- sudo chmod +x /usr/bin/-1
analysis:
environment:
variables:
DEBIAN_FRONTEND: 'noninteractive'
php:
ini:
sendmail_path: 'cat - >> /tmp/mailfile'
dependencies:
before:
- composer self-update
- composer install --no-interaction
- sudo mkdir -p /home/scrutinizer/buildfile
- sudo chown scrutinizer /home/scrutinizer/buildfile
- sudo touch /usr/bin/-1
- sudo chmod +x /usr/bin/-1
- rm -rf debian
tests:
override:
- php-scrutinizer-run --sub-project-dir=/home/scrutinizer/build/
- command: './vendor/bin/phpunit --whitelist catalog --coverage-clover /home/scrutinizer/build/coverage.xml tests'
coverage:
file: coverage.xml
format: clover
filter:
excluded_paths:
- 'tests/*'
- 'vendor/*'
- 'Examples/*'
tools:
php_code_sniffer:
config:
standard: "PSR2"
checks:
php:
code_rating: true
duplication: true