-
Notifications
You must be signed in to change notification settings - Fork 500
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
50 lines (42 loc) · 1.22 KB
/
.gitlab-ci.yml
File metadata and controls
50 lines (42 loc) · 1.22 KB
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
image: maven:3.9-eclipse-temurin-21-jammy
workflow:
auto_cancel:
on_new_commit: interruptible
stages:
- test
test-job:
stage: test
parallel:
matrix:
- module:
- matsim
# sorted from longest to shortest (to minimise the overall test stage duration)
# (used in travis; not respected in GitHub Action workflows)
# This contains only a small subset of modules, full build takes to long otherwise
- contribs/vsp
- contribs/bicycle
- contribs/drt
- contribs/drt-extensions
- contribs/dvrp
- contribs/distributed-simulation
cache:
paths:
- .m2/repository
variables:
MAVEN_OPTS: >-
-Xmx2G
-Dhttps.protocols=TLSv1.2
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true
MAVEN_CLI_OPTS: >-
--batch-mode
--errors
--fail-at-end
--show-version
--no-transfer-progress
script:
- mvn install --also-make --projects $module -DskipTests -Dsource.skip
- cd $module
- mvn verify -Dmaven.test.redirectTestOutputToFile -Dmatsim.preferLocalDtds=true -Dsource.skip
interruptible: true