-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
47 lines (39 loc) · 989 Bytes
/
.gitlab-ci.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
image: 1drop/php-utils:7.4
stages:
- test
test:phpstan:
stage: test
allow_failure: true
script:
- phpstan analyse --no-progress -c .config/phpstan.neon.dist --error-format=table --memory-limit 1G
test:phpcs:
stage: test
allow_failure: true
script:
- phpcs --standard=.config/phpcs.xml.dist -d memory_limit=512M
test:phpmd:
stage: test
allow_failure: true
script:
- phpmd . ansi .config/phpmd.ruleset.xml.dist --exclude cache/*
test:phpcpd:
stage: test
allow_failure: true
script:
- phpcpd --exclude cache/ .
test:phpcompat74:
stage: test
allow_failure: true
script:
- phpcs --standard=.config/phpcs-phpcompat_74.xml.dist -d memory_limit=512M
test:phpcompat80:
stage: test
allow_failure: true
script:
- phpcs --standard=.config/phpcs-phpcompat_80.xml.dist -d memory_limit=512M
test:editorconfig:
stage: test
image: mstruebing/editorconfig-checker:2.4.0
allow_failure: true
script:
- ec -config .config/.ecrc