-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
35 lines (28 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
configuration:
- Debug
os: Visual Studio 2017
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
environment:
CODECOV_TOKEN: 139acf01-04bd-43e5-833c-f43457da19ec
branches:
only:
- master
before_build:
- nuget restore
- choco install opencover.portable
- choco install codecov
build_script:
- msbuild SpiceSharpBehavioral\SpiceSharpBehavioral.csproj -p:Configuration=Debug
- msbuild SpiceSharpBehavioralTests\SpiceSharpBehavioralTests.csproj -p:Configuration=Debug
- OpenCover.Console.exe -register -oldStyle -target:"packages\NUnit.ConsoleRunner.3.10.0\tools\nunit3-console.exe" -targetargs:"SpiceSharpBehavioralTests\SpiceSharpBehavioralTests.csproj" -filter:"+[*]* -[SpiceSharpBehavioralTests*]*" -output:"SpiceSharpBehavioralCoverage.xml"
- codecov -f "SpiceSharpBehavioralCoverage.xml"
- msbuild SpiceSharpBehavioral\SpiceSharpBehavioral.csproj -p:Configuration=Release
artifacts:
- path: SpiceSharpBehavioral\bin\Release\*.nupkg
name: NuGet package
- path: SpiceSharpBehavioralCoverage.xml
name: Coverage report