-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathappveyor.yml
More file actions
30 lines (25 loc) · 875 Bytes
/
appveyor.yml
File metadata and controls
30 lines (25 loc) · 875 Bytes
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
#configuration: release
# version format
version: 1.0.{build}
# branches to build
branches:
# whitelist
only:
- master
# Restore nuget packages before running msbuild
image:
- Visual Studio 2017
before_build:
- nuget restore LBP/LBP.sln
# package Web application project for Web deploy
build:
verbosity: minimal
publish_wap: true
project: LBP/LBP.sln
test_script:
- LBP\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"LBP\LBP.UnitTests\bin\Debug\LBP.UnitTests.dll -noshadow" -output:"coverage.xml" -filter:"+[LBPLibrary*]* -[LBP.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 8ac0b4a5-d972-472d-a26b-102083a96de5