forked from LimeSurvey/LimeSurvey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpci.yml
49 lines (46 loc) · 1.11 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
build_settings:
clone_depth: 1 # depth of 1 is a shallow clone, remove this line to clone entire repo
verbose: false
ignore:
- "vendor"
- "tests"
- "third_party"
- "tmp"
- "framework"
- "upload"
- "docs"
- "application/third_party"
- "locale"
mysql:
host: "localhost"
user: "root"
pass: ""
setup:
# mysql:
# - "DROP DATABASE IF EXISTS test;"
# - "CREATE DATABASE test;"
# - "GRANT ALL PRIVILEGES ON test.* TO test@'localhost' IDENTIFIED BY 'test';"
# composer:
# action: "install"
test:
# php_unit:
# config:
# - "PHPUnit-all.xml"
# - "PHPUnit-ubuntu-fix.xml"
# directory:
# - "tests/"
# run_from: "phpunit/"
# coverage: "tests/logs/coverage"
php_mess_detector:
allow_failures: false
suffixes:
- "php"
# php_code_sniffer:
# standard: "PSR2"
# php_cpd:
# allow_failures: true
# grunt:
# task: "build"
complete:
# mysql:
# - "DROP DATABASE IF EXISTS test;"