-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
34 lines (34 loc) · 1.27 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
30
31
32
33
34
version: 4.0.0.{build}
image: Visual Studio 2022
clone_folder: c:\projects\nlog
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
assembly_version: '4.0.0.0'
file_version: '{version}'
package_version: '4.1.0'
informational_version: '4.1.0'
version: '4.1.0'
skip_tags: true
nuget:
disable_publish_on_pr: true
build_script:
- ps: dotnet restore
- ps: msbuild /t:build,pack /p:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg /p:ContinuousIntegrationBuild=true /p:EmbedUntrackedSources=true /p:PublishRepositoryUrl=true /verbosity:minimal
test_script:
- nuget.exe install OpenCover -ExcludeVersion
- OpenCover\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"c:\projects\nlog\NLog.Elmah.Tests\bin\Release\net35\NLog.Elmah.Tests.dll" -returntargetcode -filter:"+[NLog.Elmah]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.xml"
artifacts:
- path: '**\NLog.*.nupkg'
- path: '**\NLog.*.snupkg'
deploy:
- provider: NuGet
api_key:
secure: e+0IpLU3V1eXUsWCRjKGuyyeuLQYfFpv6BAoIihFQryuYZsOWVvxUBvQOC0dOL2n
on:
branch: master