-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
executable file
·55 lines (49 loc) · 1.14 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
workspace:
base: /test
path: task-runner
services:
web:
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
environment:
- DOCUMENT_ROOT=/test/task-runner
- COMPOSERVER=--2
pipeline:
composer-install-lowest:
group: prepare
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
volumes:
- /cache:/cache
commands:
- composer self-update --2
- composer update --prefer-lowest --ansi --no-progress
when:
matrix:
COMPOSER_BOUNDARY: lowest
composer-install-highest:
group: prepare
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
volumes:
- /cache:/cache
commands:
- composer self-update --2
- composer install --ansi --no-progress
when:
matrix:
COMPOSER_BOUNDARY: highest
grumphp:
group: test
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/grumphp run
phpunit:
group: test
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/phpunit
matrix:
PHP_VERSION:
- 8.0
- 8.1
COMPOSER_BOUNDARY:
- lowest
- highest