-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
49 lines (49 loc) · 1.28 KB
/
docker-compose.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
version: '3.9'
services:
reli-test:
build:
context: .
dockerfile: Dockerfile-dev
pid: "host"
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
volumes:
- .:/app
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/reli-test:/tmp/reli-test
container_name: reli-test
command: ["vendor/bin/phpunit" , "--colors=always", "--testdox"]
reli-test-with-coverage:
build:
context: .
dockerfile: Dockerfile-dev
pid: "host"
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
volumes:
- .:/app
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/reli-test:/tmp/reli-test
- ./build:/app/build
container_name: reli-test
command: ["vendor/bin/phpunit" , "--colors=always", "--testdox", "--coverage-clover", "build/logs/clover.xml"]
reli-test-for-ci:
build:
context: .
dockerfile: Dockerfile-dev
pid: "host"
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
volumes:
- .:/app
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/reli-test:/tmp/reli-test
- ./build:/app/build
container_name: reli-test
command: ["vendor/bin/phpunit" , "--coverage-clover", "build/logs/clover.xml"]