-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.drone.yml
55 lines (54 loc) · 1.03 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
54
55
---
kind: pipeline
name: Codequality
steps:
- commands:
- php -v
- composer update
image: joomlaprojects/docker-images:php8.1
name: composer
volumes:
- name: composer-cache
path: /tmp/composer-cache
- commands:
- vendor/bin/phpcs --standard=ruleset.xml src/
depends:
- composer
image: joomlaprojects/docker-images:php8.1
name: phpcs
- commands:
- vendor/bin/phan
depends:
- composer
failure: ignore
image: joomlaprojects/docker-images:php8.1-ast
name: phan
- commands:
- ./vendor/bin/phpstan
depends:
- composer
failure: ignore
image: joomlaprojects/docker-images:php8.1
name: phpstan
- commands:
- phploc src
depends:
- composer
failure: ignore
image: joomlaprojects/docker-images:php8.1
name: phploc
- commands:
- phpcpd src
depends:
- composer
failure: ignore
image: joomlaprojects/docker-images:php8.1
name: phpcpd
volumes:
- host:
path: /tmp/composer-cache
name: composer-cache
---
kind: signature
hmac: 04467ebe4113c222a797ae5747e9c34fae50dfc1d14c9e8e16df818c1017dee9
...