-
Notifications
You must be signed in to change notification settings - Fork 448
/
.scrutinizer.yml
40 lines (37 loc) · 1.15 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
filter:
excluded_paths:
- 'ieducar/tests/*'
- 'ieducar/misc/**/*'
- 'ieducar/intranet/scripts/jquery'
- 'ieducar/intranet/scripts/scriptaculous'
- 'ieducar/intranet/scripts/prototype'
- 'ieducar/intranet/scripts/select2'
- 'ieducar/intranet/scripts/graficos'
- 'ieducar/modules/Portabilis/Assets/Plugins/AjaxChosen/'
- 'ieducar/modules/Portabilis/Assets/Plugins/Chosen/'
checks:
php:
code_rating: true
tools:
php_analyzer: true
php_changetracking: true
php_code_sniffer:
config:
standard: "PSR2"
php_cpd: true
php_mess_detector: true
php_pdepend: true
sensiolabs_security_checker: true
build:
environment:
postgresql: true
dependencies:
before:
- psql -c "CREATE DATABASE ieducar_test WITH OWNER = scrutinizer ENCODING = 'UTF8' LC_COLLATE = 'en_US.UTF-8' TEMPLATE template0"
after:
- cp phinx.php.scrutinizer phinx.php
- ieducar/vendor/bin/phinx seed:run -s StartingSeed -s StartingForeignKeysSeed
- ieducar/vendor/bin/phinx migrate
tests:
override:
command: "true"