-
Notifications
You must be signed in to change notification settings - Fork 27
/
.drone.yml
58 lines (49 loc) · 1.33 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
56
57
58
---
kind: pipeline
name: default
clone:
steps:
- name: composer
image: joomlaprojects/docker-images:php8.2
volumes:
- name: composer-cache
path: /tmp/composer-cache
commands:
- composer install --no-progress --no-suggest
- name: phpcs
image: joomlaprojects/docker-images:php8.2
commands:
- echo $(date)
- ./vendor/bin/php-cs-fixer fix -vvv --dry-run --diff
- ./vendor/bin/phpcs --extensions=php -p --standard=ruleset.xml .
- echo $(date)
- name: clone-test-data
image: alpine/git
commands:
- mkdir test-weblinks
- cd test-weblinks
- git clone https://github.com/joomla-extensions/weblinks.git .
- git checkout 4.0-dev
- cd ..
- rm jorobo.dist.ini
- cp test-weblinks/jorobo.dist.ini jorobo.ini
- name: weblinks-composer
image: joomlaprojects/docker-images:php8.2
volumes:
- name: composer-cache
path: /tmp/composer-cache
commands:
- cd test-weblinks
- composer install --no-progress --no-suggest
- name: test-jorobo-php
image: joomlaprojects/docker-images:php8.2
commands:
- ./vendor/bin/phpunit tests
volumes:
- name: composer-cache
host:
path: /tmp/composer-cache
---
kind: signature
hmac: c4eb5e2922aaaf29bc3129689891231b50d752d9c668be70904a036f2174b4ae
...