-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scrutinizer.yml
46 lines (40 loc) · 972 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
39
40
41
42
43
44
45
filter:
excluded_paths:
- 'tests/*'
- 'vendor/*'
before_commands:
- 'composer install'
checks:
php:
code_rating: true
duplication: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
build:
tests:
override:
-
command: './vendor/bin/phpunit --configuration ci.phpunit.xml'
coverage:
file: 'coverage.clover'
format: 'clover'
after:
- 'wget https://scrutinizer-ci.com/ocular.phar'
- 'php ocular.phar code-coverage:upload --format=php-clover --repository="g/phuria/pipolino" coverage.clover'
tools:
external_code_coverage: true
php_mess_detector: true
php_code_sniffer: true
sensiolabs_security_checker: true
php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
php_cpd:
enabled: true
excluded_dirs: [vendor, tests]
php_sim: false