forked from NLog/NLog.Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (35 loc) · 1.11 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
35
36
37
38
39
40
version: 4.2.0.{build}
clone_folder: c:\projects\nlogweb
configuration: Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '4.0.0'
assembly_file_version: '{version}'
assembly_informational_version: '4.3'
nuget:
project_feed: true
matrix:
fast_finish: true
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: quiet
build_script:
- cmd: >-
call build_aspnet.bat -nuget_version=4.3.0
call build_aspnetcore.bat
deploy: off
test_script:
- nuget.exe install OpenCover -ExcludeVersion
- OpenCover\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"\"c:\projects\nlogweb\NLog.Web.Tests\bin\Release\NLog.Web.Tests.dll\" -appveyor -noshadow" -returntargetcode -filter:"+[NLog.Web]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.xml"
- call test_aspnetcore.bat
artifacts:
- path: 'NLog*\**\*.nupkg'
name: aspnetcore
- path: '*.nupkg'
name: aspnet