-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathappveyor.yml
More file actions
30 lines (28 loc) · 1.07 KB
/
appveyor.yml
File metadata and controls
30 lines (28 loc) · 1.07 KB
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
version: 6.0.0.{build}
image: Visual Studio 2022
clone_folder: c:\projects\nlog
configuration: Release
platform: Any CPU
skip_tags: true
skip_branch_with_pr: 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\net471\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: FStb6Kr5sjHdPq4EzjHeXkW4DQDlS92kM9ZWDhApT68+j4WN7J7cnvvk3fj/hMxi
on:
branch: master