-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
54 lines (48 loc) · 1.01 KB
/
.gitlab-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
stages:
- test
- deploy
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375/
run-unit-tests:
stage: test
image: clojure:alpine
when: always
script:
- lein do clean, test
run-jdk7-tests:
stage: test
image: docker:stable
when: manual
services:
- docker:dind
script:
- docker build -f Dockerfile.jdk7.test -t timewords:jdk7 .
- docker run timewords:jdk7
run-jdk8-tests:
stage: test
image: docker:stable
when: always
services:
- docker:dind
script:
- docker build -f Dockerfile.jdk8.test -t timewords:jdk8 .
- docker run timewords:jdk8
run-jdk10-tests:
stage: test
image: docker:stable
when: always
services:
- docker:dind
script:
- docker build -f Dockerfile.jdk10.test -t timewords:jdk10 .
- docker run timewords:jdk10
run-jdk11-tests:
stage: test
image: docker:stable
when: always
services:
- docker:dind
script:
- docker build -f Dockerfile.jdk11.test -t timewords:jdk11 .
- docker run timewords:jdk11