-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
executable file
·73 lines (64 loc) · 1.59 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
62
63
64
65
66
67
68
69
70
71
72
73
workspace:
base: /test
path: oel_news
services:
web:
image: fpfis/httpd-php-ci:${PHP_VERSION}
environment:
- DOCUMENT_ROOT=/test/oel_news
mysql:
image: percona/percona-server:5.6
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
pipeline:
composer-install:
group: prepare
image: fpfis/httpd-php-ci:${PHP_VERSION}
volumes:
- /cache:/cache
commands:
- composer install --ansi --no-suggest --no-progress
composer-update-lowest:
group: post-prepare
image: fpfis/httpd-php-ci:${PHP_VERSION}
volumes:
- /cache:/cache
commands:
# @todo remove "composer install" step once the following issue is fixed.
# @link https://webgate.ec.europa.eu/CITnet/jira/browse/OPENEUROPA-1234
- composer update --prefer-lowest --prefer-stable --ansi --no-suggest --no-progress
when:
matrix:
COMPOSER_BOUNDARY: lowest
site-install:
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/run drupal:site-install
grumphp:
group: test
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/grumphp run
phpunit:
group: test
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/phpunit
behat:
group: test
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/behat --strict
debug:
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/drush ws --count 500
when:
status: failure
matrix:
COMPOSER_BOUNDARY:
- lowest
- highest
PHP_VERSION:
- 7.2
- 7.3