forked from openeuropa/oe_content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
50 lines (44 loc) · 954 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
45
46
47
48
49
50
workspace:
base: /test
path: oe_content
services:
web:
image: fpfis/httpd-php-dev:7.1
environment:
- DOCUMENT_ROOT=/test/oe_content
mysql:
image: percona/percona-server:5.6
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
sparql:
image: openeuropa/triple-store-dev
environment:
- SPARQL_UPDATE=true
- DBA_PASSWORD=dba
pipeline:
composer-install:
group: prepare
image: fpfis/httpd-php-dev:7.1
volumes:
- /cache:/cache
commands:
- composer install
site-install:
image: fpfis/httpd-php-dev:7.1
commands:
- ./vendor/bin/run drupal:site-install
grumphp:
group: test
image: fpfis/httpd-php-dev:7.1
commands:
- ./vendor/bin/grumphp run
phpunit:
group: test
image: fpfis/httpd-php-dev:7.1
commands:
- ./vendor/bin/phpunit
behat:
group: test
image: fpfis/php71-build
commands:
- ./vendor/bin/behat