-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
40 lines (36 loc) · 1.16 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: '{build}'
image: Visual Studio 2017
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore --verbosity m
build_script:
- cmd: dotnet pack ./Plumb.Cacher -c Release -o ../
artifacts:
- path: '**\*.nupkg'
test_script:
- cmd: dotnet test ./Plumb.Cacher.Tests/Plumb.Cacher.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=../coverage/lcov.info /p:Threshold=80
deploy:
- provider: GitHub
name: GitHub_Release
release: $(APPVEYOR_REPO_TAG_NAME)
description: '$(APPVEYOR_REPO_TAG_NAME)'
auth_token:
secure: DltCzWLZlWBEDtaQYtoxdSVZH6cS0240H8T1MfhAiWu8yYSg9F92IdrhPqdC+jtQ
artifacts: '**\*.nupkg'
draft: false
prerelease: false
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: sPJb1pmLx8R1xc3eNCcYgI9DXc6r9l23ijMs/5LpTeSQH9GY/69OGK6/SVGtJlh+
skip_symbols: false
symbol_server:
artifacts: '**\*.nupkg'
on:
appveyor_repo_tag: true