-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpci.yml
More file actions
39 lines (31 loc) · 851 Bytes
/
phpci.yml
File metadata and controls
39 lines (31 loc) · 851 Bytes
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
build_settings:
ignore:
- "vendor"
- "tests"
setup:
composer:
action: "install"
shell:
- "%BUILD_PATH%/app/console doctrine:schema:drop --force"
- "%BUILD_PATH%/app/console doctrine:schema:create"
- "%BUILD_PATH%/app/console doctrine:fixtures:load -n"
test:
php_unit:
config:
- "app/phpunit.xml.dist"
php_code_sniffer:
path: "src"
standard: "PSR1,PSR2"
allowed_errors: 10
allow_warnings: 99999
php_mess_detector:
rules:
- "codesize"
- "unusedcode"
- "naming"
allow_failures: true
complete:
shell:
- "%BUILD_PATH%/app/console doctrine:schema:drop --force"
- "%BUILD_PATH%/app/console doctrine:schema:create"
- "%BUILD_PATH%/app/console doctrine:fixtures:load -n"