-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
53 lines (46 loc) · 1.26 KB
/
.drone.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
---
kind: pipeline
type: docker
name: default
steps:
- name: phpstan
failure: ignore
image: 1drop/php-utils:7.4
commands:
- phpstan analyse --no-progress -c .config/phpstan.neon.dist --error-format=table --memory-limit 1G
depends_on: [clone]
- name: phpcs
failure: ignore
image: 1drop/php-utils:7.4
commands:
- phpcs --standard=.config/phpcs.xml.dist -d memory_limit=512M
depends_on: [clone]
- name: phpmd
failure: ignore
image: 1drop/php-utils:7.4
commands:
- phpmd . ansi .config/phpmd.ruleset.xml.dist --exclude cache/*
depends_on: [clone]
- name: phpcpd
failure: ignore
image: 1drop/php-utils:7.4
commands:
- phpcpd --exclude cache/ .
depends_on: [clone]
- name: phpcompat74
failure: always
image: 1drop/php-utils:7.4
commands:
- phpcs --standard=.config/phpcs-phpcompat_74.xml.dist -d memory_limit=512M
depends_on: [clone]
- name: phpcompat80
failure: always
image: 1drop/php-utils:7.4
commands:
- phpcs --standard=.config/phpcs-phpcompat_80.xml.dist -d memory_limit=512M
depends_on: [phpcompat74]
- name: editorconfig
failure: ignore
image: mstruebing/editorconfig-checker:2.4.0
commands:
- ec -config .config/.ecrc