Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit a4d4413

Browse files
Vlastimil Zemanforejtv
authored andcommitted
Add *diffblue-builder* tests to dobi and travis.
1 parent be828cd commit a4d4413

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ before_install:
2828
# Build cbmc-builder and try to build & test cbmc in it. Run in parallel for
2929
# each distro.
3030
env:
31-
- DISTRO="alpine"
32-
- DISTRO="ubuntu"
31+
- IMAGE="alpine"
32+
- IMAGE="ubuntu"
33+
- IMAGE="alpine-diffblue-builder"
3334

3435
script:
35-
- BUILDER_TAG=$(git describe) ./dobi ${DISTRO}-test
36+
- BUILDER_TAG=$(git describe) ./dobi ${IMAGE}-test

dobi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ mount=source:
1414
bind: ./cbmc/
1515
path: /src/cbmc/
1616

17+
mount=test-java:
18+
bind: ./test/java/
19+
path: /test-java/
20+
1721
## Alpine Mounts
1822

1923
mount=alpine-tmp:
@@ -57,6 +61,13 @@ image=alpine-distro:
5761
- 'alpine'
5862
- 'alpine-{env.BUILDER_TAG}'
5963

64+
image=alpine-diffblue-builder:
65+
image: diffblue/diffblue-builder
66+
dockerfile: alpine/Dockerfile.diffblue-builder
67+
tags:
68+
- 'alpine'
69+
- 'alpine-{env.BUILDER_TAG}'
70+
6071
## Ubuntu Images
6172

6273
image=ubuntu-builder:
@@ -128,6 +139,12 @@ job=alpine-clean:
128139
command: "bash -c \"rm -rf /tmp/projects/* && rm -rf /dist/*\""
129140
description: "Delete temporary files and binaries"
130141

142+
job=alpine-diffblue-builder-test:
143+
use: alpine-diffblue-builder
144+
mounts: [test-java]
145+
command: "bash -c \"cd /test-java && mvn compile && ant compile\""
146+
description: "Test basic funcionality"
147+
131148
## Ubuntu Jobs
132149

133150
job=ubuntu-copy-src:

0 commit comments

Comments
 (0)