-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpci.yml
63 lines (61 loc) · 1.29 KB
/
phpci.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
build_settings:
verbose: true
mysql:
host: "localhost"
user: "root"
pass: "root"
setup:
mysql:
- "DROP DATABASE IF EXISTS test;"
- "CREATE DATABASE test;"
- "GRANT ALL PRIVILEGES ON test.* TO test@'localhost' IDENTIFIED BY 'test';"
env:
APP_ENV: "testing"
APP_DEBUG: "true"
CACHE_DRIVER: "array"
SESSION_DRIVER: "array"
QUEUE_DRIVER: "sync"
composer:
action: "install"
test:
# lint: extreme slow
# directory: "app/"
php_unit:
config:
- "phpunit.xml"
directory:
- "app/tests/"
php_loc:
directory: "app"
# php_code_sniffer:
# path: "app"
# ignore:
# - "app/views"
# standard: "PSR1,PSR2"
# php_cpd: could not find pgp_cpd
# standard: "PSR2"
# path: "app"
# php_mess_detector:
# path: 'app'
# ignore:
# - 'vendor'
# allowed_warnings: -1
# rules:
# - "cleancode"
# - "controversial"
# - "codesize"
# - "design"
# - "naming"
# - "unusedcode"
# zero_config: true
# php_docblock_checker: extreme slow
# path: "app"
# allowed_warnings: 10
# skip_classes: true
#technical_debt:
complete:
mysql:
# host: "localhost"
# user: "root"
# pass: "root"
- "DROP DATABASE IF EXISTS test;"