-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.appveyor.yml
31 lines (27 loc) · 959 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
version: '{build}'
environment:
matrix:
- job_name: Java 8
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- job_name: Java 11
JAVA_HOME: C:\Program Files\Java\jdk11
appveyor_build_worker_image: Visual Studio 2019
- job_name: Java 17
JAVA_HOME: C:\Program Files\Java\jdk17
appveyor_build_worker_image: Visual Studio 2019
- job_name: Java 21
JAVA_HOME: C:\Program Files\Java\jdk21
appveyor_build_worker_image: Visual Studio 2022
build_script:
- ./gradlew assemble --no-daemon
test_script:
- ./gradlew check --no-daemon
on_success:
- ./gradlew jacocoTestReport --no-daemon
- ps: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe
.\codecov.exe -f build\reports\jacoco\test\jacocoTestReport.xml -F windows
cache:
- C:\Users\appveyor\.gradle\caches
- C:\Users\appveyor\.gradle\wrapper