forked from drupaltest/behat-traits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
61 lines (54 loc) · 1.41 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
59
60
61
workspace:
base: /test
path: behat-traits
services:
web:
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
environment:
- DOCUMENT_ROOT=/test/behat-traits
mysql:
image: percona/percona-server:5.6
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
pipeline:
composer-install-lowest:
group: prepare
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
commands:
# @todo remove "composer install" step once the following issue is fixed.
# @link https://webgate.ec.europa.eu/CITnet/jira/browse/OPENEUROPA-1234
- composer install --ansi --no-suggest --no-progress
- composer update --prefer-lowest --ansi --no-suggest --no-progress
when:
matrix:
COMPOSER_BOUNDARY: lowest
composer-install-highest:
group: prepare
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
commands:
- composer update
when:
matrix:
COMPOSER_BOUNDARY: highest
site-install:
group: install
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
commands:
- ./vendor/bin/run drupal:site-install
grumphp:
group: test
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
commands:
- ./vendor/bin/grumphp run
behat:
group: test
image: ${IMAGE_PHP=fpfis/httpd-php-dev:7.1}
commands:
- ./vendor/bin/behat
matrix:
IMAGE_PHP:
- fpfis/httpd-php-dev:7.1
- fpfis/httpd-php-dev:7.2
COMPOSER_BOUNDARY:
- lowest
- highest