-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
37 lines (37 loc) · 1.05 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
version: '0.11.0.{build}'
image: Visual Studio 2019
branches:
only:
- master
- develop
init:
- cmd: git config --global core.autocrlf true
configuration:
- Release
nuget:
disable_publish_on_pr: true
before_build:
- cmd: dotnet --version
- choco install codecov
build_script:
- cmd: dotnet build ./src/Nancy.Metadata.OpenApi.csproj -v quiet
- cmd: dotnet build ./samples/Nancy.Metadata.OpenApi.DemoApplication.csproj -v quiet
- cmd: dotnet publish ./src/Nancy.Metadata.OpenApi.csproj -v quiet -f=netstandard2.0
test_script:
- cmd: dotnet test ./tests/Nancy.Metadata.OpenApi.Tests.csproj /p:AltCover=true /p:AltCoverAssemblyExcludeFilter="xunit"
after_test:
- codecov -f "./tests/coverage.xml" -t $(codecov_token)
artifacts:
- path: '**/*.nupkg'
skip_commits:
files:
- '**/*.md'
deploy:
- provider: NuGet
server: https://www.myget.org/F/nancy-metadata-openapi/api/v2/package
on:
branch: develop
appveyor_repo_tag: true
api_key:
secure: 6xhHSsDvB9arsrSDLuynnbxaVS+BwaoJU96RfQenc5FOnUYvP8SHM6kbvrmpvja2
skip_symbols: true