-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
44 lines (38 loc) · 861 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
workspace:
base: /test
path: oe-poetry-behat
services:
web:
image: ${IMAGE_PHP=fpfis/httpd-php-dev:5.6}
environment:
- DOCUMENT_ROOT=/test/oe-poetry-behat
pipeline:
composer-install:
group: prepare
image: ${IMAGE_PHP=fpfis/httpd-php-dev:5.6}
volumes:
- /cache:/cache
commands:
- composer update ${COMPOSER_BOUNDARY}
grumphp:
group: test
image: ${IMAGE_PHP=fpfis/httpd-php-dev:5.6}
commands:
- ./vendor/bin/grumphp run
phpunit:
group: test
image: ${IMAGE_PHP=fpfis/httpd-php-dev:5.6}
commands:
- ./vendor/bin/phpunit
behat:
group: test
image: ${IMAGE_PHP=fpfis/httpd-php-dev:5.6}
commands:
- ./vendor/bin/behat
matrix:
IMAGE_PHP:
- fpfis/httpd-php-dev:5.6
- fpfis/httpd-php-dev:7.1
COMPOSER_BOUNDARY:
- '--prefer-lowest'
- ''