-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
32 lines (32 loc) · 950 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
32
version: '{build}'
clone_depth: 3
image:
- Visual Studio 2019
environment:
matrix:
- job_name: java8-win-x64
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- job_name: java11-win-x64
JAVA_HOME: C:\Program Files\Java\jdk11
- job_name: java17-win-x64
JAVA_HOME: C:\Program Files\Java\jdk17
- job_name: java8-linux-deploy
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
DEPLOY: 1
matrix:
fast_finish: true
install:
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
- sh: export PATH="$JAVA_HOME/bin:$PATH"
- bash -c "mkdir -p $HOME/.m2"
- bash -c "cp -f .settings.xml $HOME/.m2/settings.xml"
build_script:
- mvn install -DskipTests=true -U
test_script:
- mvn test -Dassembly.skipAssembly=true -B
deploy_script:
- bash -c "if [ ${DEPLOY} ]; then mvn source:jar deploy -DskipTests=true -B -P ${job_name}; fi"
cache:
- '%USERPROFILE%\.m2'
- '$HOME/.m2'