-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (48 loc) · 1.67 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Documentation/Reference: https://www.appveyor.com/docs/appveyor-yml/
# Semantic Versioning http://semver.org/
version: 0.0.{build}
image: Visual Studio 2017
# branches to build
branches:
# whitelist
only:
- master
init:
- git config --global core.autocrlf true
# environment:
install:
- choco install gitversion.portable -pre -y
# Install NUnit console runner
# - ps: Start-FileDownload $env:NUnitRunnerUri -FileName NUnitInstaller.zip
# - cmd: 7z x NUnitInstaller.zip -y
# clone directory
clone_folder: c:\projects\ResXSemanticParsers
# fetch repository as zip archive (when next line is uncommented)
# shallow_clone: true
# skip specific commits
skip_commits:
files:
- /*.md
before_build:
- nuget restore "c:\projects\ResXSemanticParsers\ResXSemanticParser.sln"
# enable patching of AssemblyInfo.* files
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
build:
parallel: true
project: ResXSemanticParser.sln
verbosity: minimal
platform:
- Any CPU
configuration:
- Debug
# - Release
test_script:
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:" "".\Tests\bin\Tests.dll"" --workers=16 " -returntargetcode -filter:"+[MiKo*]* -[*Test*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -output:"c:\projects\ResXSemanticParsers\CodeCoverage.xml"
# Codecov Flags (https://docs.codecov.io/v4.3.6/docs/flags)
- .\packages\Codecov.1.1.0\tools\codecov.exe -f "c:\projects\ResXSemanticParsers\CodeCoverage.xml" --flag api
# cache: