forked from ec-europa/toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
executable file
·63 lines (58 loc) · 1.36 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
workspace:
base: /test
path: toolkit
matrix:
PHING_OPTS:
- -logger phing.listener.AnsiColorLogger
DOCKER_PROPS:
- TOOLKIT_ENV_PROPS=/test/toolkit/includes/phing/props/docker.props
services:
web:
image: fpfis/php56-dev
environment:
- DOCUMENT_ROOT=/test/toolkit/build
mysql:
image: fpfis/mysql56
selenium:
image: selenium/standalone-chrome
environment:
- SE_OPTS=-log /tmp/selenium.log
solr:
image: fpfis/solr5
pipeline:
toolkit:
image: fpfis/php56-dev
environment:
- ${DOCKER_PROPS}
commands:
- PROJECT=$(pwd) composer toolkit-install
- ./toolkit/phing project-properties-validate ${PHING_OPTS}
volumes:
- /cache:/cache
build:
image: fpfis/php56-dev
environment:
- ${DOCKER_PROPS}
commands:
- ./toolkit/phing build-platform ${PHING_OPTS}
- ./toolkit/phing build-subsite-dev ${PHING_OPTS}
volumes:
- /cache:/cache
- /cache/share:/tmp/toolkit
install:
image: fpfis/php56-dev
environment:
- ${DOCKER_PROPS}
commands:
- ./toolkit/phing install-clean ${PHING_OPTS}
volumes:
- /cache:/cache
- /cache/share:/tmp/toolkit
test:
image: fpfis/php56-dev
environment:
- ${DOCKER_PROPS}
commands:
- ./toolkit/phing test-run-behat ${PHING_OPTS}
volumes:
- /cache:/cache