forked from SpiceSharp/SpiceSharp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
33 lines (26 loc) · 944 Bytes
/
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
configuration:
- Debug
os: Visual Studio 2017
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
environment:
CODECOV_TOKEN: 862c0870-53eb-4ed5-9a82-759c70cf78e0
branches:
only:
- master
before_build:
- nuget restore
- choco install opencover.portable
- choco install codecov
build_script:
- msbuild SpiceSharp\SpiceSharp.csproj -p:Configuration=Debug
- msbuild SpiceSharpTest\SpiceSharpTest.csproj -p:Configuration=Debug
- OpenCover.Console.exe -register:user -oldStyle -target:"packages\NUnit.ConsoleRunner.3.10.0\tools\nunit3-console.exe" -targetargs:"SpiceSharpTest\SpiceSharpTest.csproj" -filter:"+[*]* -[SpiceSharpTest*]*" -output:"SpiceSharpCoverage.xml"
- codecov -f "SpiceSharpCoverage.xml"
- msbuild SpiceSharp\SpiceSharp.csproj -p:Configuration=Release
artifacts:
- path: SpiceSharp\bin\Release\*.nupkg
name: NuGet package