-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (38 loc) · 1.39 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
version: 2.0.{build}
skip_commits:
message: /NO-BUILD/
files:
- docs/*
- 'LICENSE'
- 'README.md'
assembly_info:
patch: true
file: '**\AssemblyInfo.cs'
assembly_version: '{version}'
assembly_file_version: '{version}'
before_build:
- ps: nuget restore
image: Visual Studio 2017
configuration: Release
build:
parallel: true
verbosity: minimal
test:
assemblies:
only:
- '**\bin\**\*.UnitTests.dll'
test_script:
- cmd: "\"%USERPROFILE%\\.nuget\\packages\\OpenCover\\4.6.519\\tools\\OpenCover.Console.exe\" -register:user -target:\"%xunit20%\\xunit.console.x86.exe\" -targetargs:\"Grumpy.RipplesMQ.Server.UnitTests\\bin\\Release\\Grumpy.RipplesMQ.Server.UnitTests.dll Grumpy.RipplesMQ.Core.UnitTests\\bin\\Release\\Grumpy.RipplesMQ.Core.UnitTests.dll -noshadow\" -output:\"coverage.xml\" -filter:\"+[Grumpy.RipplesMQ.Core*|Grumpy.RipplesMQ.Server*]* -[Grumpy.RipplesMQ.Server.UnitTests*|Grumpy.RipplesMQ.Core.UnitTests*]*\""
after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage.xml" -t 54894c87-b611-4f06-bc0d-73a8415fdc23
after_build:
- ps: nuget pack Grumpy.RipplesMQ.Server\bin\Release\Grumpy.RipplesMQ.Server.nuspec -Version $env:APPVEYOR_BUILD_VERSION
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
provider: Environment
name: NuGet