-
Notifications
You must be signed in to change notification settings - Fork 6
/
.drone.yml
44 lines (38 loc) · 986 Bytes
/
.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
---
kind: pipeline
name: default
steps:
- name: composer
image: joomlaprojects/docker-images:php8.2
volumes:
- name: composer-cache
path: /tmp/composer-cache
commands:
- composer install --no-progress
- name: phpcs
image: joomlaprojects/docker-images:php8.2
depends_on: [ composer ]
commands:
- echo $(date)
- ./vendor/bin/php-cs-fixer fix -vvv --dry-run --diff
- ./vendor/bin/phpcs --extensions=php -p --standard=ruleset.xml src/
- echo $(date)
- name: phpstan
image: joomlaprojects/docker-images:php8.2
depends_on: [ composer ]
failure: ignore
commands:
- mkdir cms
- cd cms
- curl https://joomla.org/latest -L --output joomla.zip
- unzip joomla.zip
- cd ..
- ./vendor/bin/phpstan
volumes:
- name: composer-cache
host:
path: /tmp/composer-cache
---
kind: signature
hmac: cb20512429a66d09a11852d6fb4634b5c201311295a9456b877ceceaee273b52
...