-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (61 loc) · 2.25 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
image: Visual Studio 2017
branches:
only:
- master
# We'll also build whenever there is a new commit on any branch starting with `features/`
- /feature\/.+/
build_script:
- ps: .\build.ps1 -cover -codecov -pack
assembly_info:
# We'll version the binaries and the NuGet package in the build script
patch: false
# We'll run the tests in the build script
test: off
# AppVeyor will create a release tag if a matching one does not exist
# hence triggering another build
skip_tags: true
skip_branch_with_pr: true
skip_commits:
files:
- .editorconfig
- LICENSE
- README.md
deploy:
# The provider is case sensitive
- provider: GitHub
# By convention release versions start with `v`
release: v$(APPVEYOR_BUILD_VERSION)
auth_token:
# Encrypted `GitHub` `PAT`
# https://www.appveyor.com/docs/deployment/github/#provider-settings
secure: 4jxniAGrLoauvPI6eE0m3KIOCNgcFb9bmUD6dOCChJjCLsMNNq9mK/h780iCE1mx
artifact: packages
draft: false
prerelease: false
on:
branch: master
- provider: NuGet
api_key:
# https://www.appveyor.com/docs/deployment/nuget/#provider-settings
secure: SGD3hP3yfalaW0BUJnagU3kZYwJYXO1+iICG9onVFdnqI/Vne4MLB/IqGkGP6vWq
skip_symbols: true
artifact: packages
on:
branch: master
# Environment variables
environment:
# No need to pre-warm the `NuGet` cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
CODECOV_TOKEN:
secure: dxzoK73OLlDu9F1n8oHT7C/5idf8qniuKOUybjd3WghpR9Gmibu9CN93FAr9okKv
# `install` will run before `build_script`
install:
# `dotnet-install.ps1` is available at: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
# `Cake.dll` is targeting `.NET Core` `1.0.9`, so we need to install the latest `1.0.x` runtime
# The runtime is required to run a `.NET Core` application, it's part of the `SDK`
# https://github.com/dotnet/core/blob/master/release-notes/download-archive.md
- ps: .\build\dotnet-install.ps1 -SharedRuntime -Version 1.0.9
# `BeanstalkSeeder` is targeting `.NET Core` `2.0`, so we can safely install the latest `SDK`
# The `SDK` is required to restore, build, publish... a `.NET Core` application
# https://www.microsoft.com/net/download/windows
- ps: .\build\dotnet-install.ps1 -Channel Current