-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose-ci.yml
68 lines (59 loc) · 1.06 KB
/
docker-compose-ci.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
version: '3.7'
x-build: &build
context: .
dockerfile: ./docker/Dockerfile
target: ci
services:
ci_sh_default: &default
build:
<<: *build
args:
SH_VERSION: default
volumes:
- "$PWD:/usr/local/src/super_unko"
working_dir: /usr/local/src/super_unko
entrypoint:
- ./test.sh
ci_sh_3.2:
<<: *default
build:
<<: *build
args:
# Because bats supports 3.2.57 or more https://github.com/bats-core/bats-core
SH_VERSION: 3.2.57
ci_sh_4.0:
<<: *default
build:
<<: *build
args:
SH_VERSION: 4.0
ci_sh_4.1:
<<: *default
build:
<<: *build
args:
SH_VERSION: 4.1
ci_sh_4.2:
<<: *default
build:
<<: *build
args:
SH_VERSION: 4.2
ci_sh_4.3:
<<: *default
build:
<<: *build
args:
SH_VERSION: 4.3
ci_sh_4.4:
<<: *default
build:
<<: *build
args:
SH_VERSION: 4.4
ci_sh_5.0:
<<: *default
build:
<<: *build
args:
SH_VERSION: 5.0