-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (27 loc) · 948 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
#configuration: debug
# version format
version: 1.0.{build}
# branches to build
branches:
# whitelist
only:
- master
- grading
- sample-processing
# Restore nuget packages before running msbuild
image:
- Visual Studio 2017
before_build:
- nuget restore 3DHistoGrading.sln
# package Web application project for Web deploy
build:
verbosity: minimal
publish_wap: true
project: 3DHistoGrading.sln
test_script:
- packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.exe" -targetargs:"3DHistoGrading.UnitTests\bin\Debug\3DHistoGrading.UnitTests.dll -noshadow" -output:"coverage.xml" -filter:"+[3DHistoGrading*]* -[3DHistoGrading.UnitTests*]*"
after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage.xml" -t b0c6c3b1-f3d5-46c6-a9a7-e5797c3e70b2