forked from openeuropa/oe_authentication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
81 lines (72 loc) · 2.01 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
74
75
76
77
78
79
80
81
workspace:
base: /test
path: oe_authentication
services:
web:
image: fpfis/httpd-php-ci:7.1
environment:
- DOCUMENT_ROOT=/test/oe_authentication
mysql:
image: percona/percona-server:5.6
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
selenium:
image: selenium/standalone-chrome:3.11
environment:
- DISPLAY=:99
- SE_OPTS=-debug
pipeline:
authentication:
group: conf-authentication
image: registry.fpfis.tech.ec.europa.eu/ecas-mock-server:4.6.0
detach: true
entrypoint: [ /bin/bash ]
command: [ -c, "cp /test/oe_authentication/tests/fixtures/mock-server-config/*.xml /data/ecas-mock-server-shared; echo 'eCAS Mockup Server shared configuration is done.'; /u01/oracle/user_projects/domains/base_domain/startWebLogic.sh"]
composer-install:
group: prepare
image: fpfis/httpd-php-ci:7.1
volumes:
- /cache:/cache
commands:
- composer install --ansi --no-suggest --no-progress
composer-update-lowest:
group: prepare-lowest
image: fpfis/httpd-php-ci:7.1
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:7.1
commands:
- ./vendor/bin/run drupal:site-install
test-grumphp:
group: test
image: fpfis/httpd-php-ci:7.1
commands:
- ./vendor/bin/grumphp run
test-phpunit:
group: test
image: fpfis/httpd-php-ci:7.1
commands:
- ./vendor/bin/phpunit
test-behat:
group: test
image: fpfis/httpd-php-ci:7.1
commands:
- ./vendor/bin/behat --strict
debug:
image: fpfis/httpd-php-ci:7.1
commands:
- ./vendor/bin/drush ws --count 500
when:
status: failure
matrix:
COMPOSER_BOUNDARY:
- lowest
- highest