-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
65 lines (64 loc) · 1.61 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3.4'
services:
base:
build:
context: .
cache_from:
- koalaman/shellcheck:v0.7.0
- alpine:3.10.1
- kcov/kcov:v36
- shpy/shpy:latest
image: shpy:local
ash:
image: shpy:local
depends_on: [base]
command: ash ${CMD:-/shpy/test/run_tests}
volumes:
- ./:/shpy:ro
bash:
image: shpy:local
depends_on: [base]
command: bash ${CMD:-/shpy/test/run_tests}
volumes:
- ./:/shpy:ro
checkbashisms:
image: shpy:local
depends_on: [base]
working_dir: /shpy
command: sh -c 'checkbashisms shpy* test/* examples/*/test.sh examples/renamer/renamer /shpy/examples/coverfetch/coverfetch'
volumes:
- ./:/shpy:ro
dash:
image: shpy:local
depends_on: [base]
command: dash ${CMD:-/shpy/test/run_tests}
volumes:
- ./:/shpy:ro
kcov:
build:
context: .
target: kcov
command: kcov --exclude-path=/usr/local/bin --exclude-pattern=.yml /coverage ${CMD:-/shpy/test/run_tests}
volumes:
- ./coverage:/coverage
- ./:/shpy:ro
mksh:
image: shpy:local
depends_on: [base]
command: mksh ${CMD:-/shpy/test/run_tests}
volumes:
- ./:/shpy:ro
shellcheck:
image: shpy:local
depends_on: [base]
working_dir: /shpy
command: sh -c 'shellcheck -x shpy* test/* examples/*/test.sh examples/renamer/renamer examples/coverfetch/coverfetch'
volumes:
- ./:/shpy:ro
zsh:
image: shpy:local
depends_on: [base]
environment: ['SHUNIT_PARENT=run_tests']
command: zsh -o shwordsplit ${CMD:-/shpy/test/run_tests}
volumes:
- ./:/shpy:ro