Skip to content

Commit 6699054

Browse files
committed
fix appveyor codecov integration
1 parent bfc4672 commit 6699054

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.appveyor.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,11 @@ environment:
44
matrix:
55
- job_name: Java 8
66
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
7-
PYTHON: "C:\\Python36-x64"
87
- job_name: Java 11
98
JAVA_HOME: C:\Program Files\Java\jdk11
10-
PYTHON: "C:\\Python36-x64"
119
# - job_name: Java 16
1210
# appveyor_build_worker_image: Visual Studio 2019
1311
# JAVA_HOME: C:\Program Files\Java\jdk16
14-
# PYTHON: "C:\\Python36-x64"
15-
16-
install:
17-
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
18-
- pip install codecov --user
1912

2013
build_script:
2114
- ./gradlew assemble --no-daemon
@@ -24,7 +17,10 @@ test_script:
2417

2518
on_success:
2619
- ./gradlew jacocoTestReport --no-daemon
27-
- python -m codecov -f build\reports\jacoco\test\jacocoTestReport.xml -F windows
20+
- ps: |
21+
$ProgressPreference = 'SilentlyContinue'
22+
Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe
23+
.\codecov.exe -f build\reports\jacoco\test\jacocoTestReport.xml -F windows
2824
2925
cache:
3026
- C:\Users\appveyor\.gradle\caches

0 commit comments

Comments
 (0)