-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
22 lines (18 loc) · 975 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
image:
- Visual Studio 2019
install:
- ps: choco install codecov
# disable msbuild:
build: off
# use build script instead:
build_script:
- cmd: build.cmd
test_script:
- cmd: runAltcover.cmd
- cmd: copy .\codecoverage\BusyCoverage.xml .\BusyCoverage.xml
# Upload coverage results to codecov.io
- ps: $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
- ps: Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
- cmd: codecov -f "BusyCoverage.xml"
- ps: (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Join-Path $env:APPVEYOR_BUILD_FOLDER .\tests\Busy.Tests\bin\Debug\netcoreapp3.1\Busy.Tests.TestResults.xml))
- ps: (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Join-Path $env:APPVEYOR_BUILD_FOLDER .\tests\Busy.Objects.Tests\bin\Debug\netcoreapp3.1\Busy.Objects.Tests.TestResults.xml))