-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.drone.yml
51 lines (45 loc) · 1.15 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
clone:
git:
image: registry.fpfis.eu/drone-plugins/git:next
workspace:
base: /test
path: qa-automation
matrix:
COMPOSER_BOUNDARY:
- lowest
- highest
pipeline:
composer-install:
group: init
image: registry.fpfis.eu/fpfis/httpd-php:8.1-ci
commands:
- composer self-update --2
- composer install --ansi --no-suggest --no-progress
volumes:
- /cache/${DRONE_REPO_NAME}:/cache
when:
matrix:
COMPOSER_BOUNDARY: highest
composer-install-lowest:
group: init
image: registry.fpfis.eu/fpfis/httpd-php:8.1-ci
commands:
- composer self-update --2
- composer update --prefer-${COMPOSER_BOUNDARY=lowest} --prefer-stable --ansi --no-suggest --no-progress
volumes:
- /cache/${DRONE_REPO_NAME}:/cache
when:
matrix:
COMPOSER_BOUNDARY: lowest
phpcs:
image: registry.fpfis.eu/fpfis/httpd-php:8.1-ci
commands:
- ./vendor/bin/phpcs -p
volumes:
- /cache/${DRONE_REPO_NAME}:/cache
phpunit:
image: registry.fpfis.eu/fpfis/httpd-php:8.1-ci
commands:
- ./vendor/bin/phpunit
volumes:
- /cache/${DRONE_REPO_NAME}:/cache