-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
29 lines (27 loc) · 1.04 KB
/
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
version: 5.0.0.{build}
image: Visual Studio 2022
clone_folder: c:\projects\nlog
configuration: Release
platform: Any CPU
skip_tags: true
nuget:
project_feed: true
disable_publish_on_pr: true
build_script:
- ps: .\build.ps1
test_script:
- msbuild /t:build c:\projects\nlog\NLog.Etw.sln /p:Configuration=Debug /verbosity:minimal
- nuget.exe install OpenCover -ExcludeVersion -DependencyVersion Ignore
- OpenCover\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"\"c:\projects\nlog\NLog.Etw.Tests\bin\Debug\net452\NLog.Etw.Tests.dll\" -appveyor -noshadow" -returntargetcode -filter:"+[NLog.Etw]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.xml"
artifacts:
- path: 'artifacts\*.nupkg'
- path: 'artifacts\*.snupkg'
deploy:
- provider: NuGet
api_key:
secure: ACKSV1ixxNpO+2k8KvNDy6hd9QmR8lkQmKn773ZIIeVpG0ywYUhY4j8LcyykVR1a
on:
branch: master