forked from matsim-org/matsim-libs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (25 loc) · 791 Bytes
/
appveyor.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
#for reference see: https://www.appveyor.com/docs/appveyor-yml/
version: '{build}'
branches:
only:
- master
skip_tags: true
clone_depth: 5
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk11
fast_finish: true
image: Visual Studio 2019
install:
- cmd: SET MAVEN_OPTS=-Xmx4g
- cmd: SET JAVA_OPTS=-Xmx4g
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn package --batch-mode --fail-at-end -Dmaven.javadoc.skip -DskipTests
test_script:
- mvn test --batch-mode --fail-at-end -Dmaven.javadoc.skip -Dmatsim.preferLocalDtds=true -Dmaven.test.redirectTestOutputToFile
cache:
- C:\Users\appveyor\.m2
# - C:\Users\appveyor\.m2 -> pom.xml # uncomment if the cache should be invalidated if pom.xml changes