forked from pieceofsummer/Hangfire.Console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (36 loc) · 982 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: 1.4.2-{build}
os: Visual Studio 2017
nuget:
account_feed: false
branches:
only:
- master
- dev
pull_requests:
do_not_increment_build_number: true
init:
- git config --global core.autocrlf true
before_build:
- cmd: dotnet restore
build_script:
- cmd: dotnet build src/Hangfire.Console -c Release
- cmd: dotnet build tests/Hangfire.Console.Tests -c Release
after_build:
- cmd: dotnet pack src/Hangfire.Console -o ../../artifacts -c Release
test_script:
- cmd: dotnet test tests/Hangfire.Console.Tests/Hangfire.Console.Tests.csproj
artifacts:
- path: 'artifacts/**/*.nupkg'
deploy:
- provider: NuGet
server: https://www.myget.org/F/pieceofsummer/api/v2/package
api_key:
secure: zGtPSEbAdSdw+R1A4kL+xAK92xPP3vlA7Jmwo58OVL1H5OcyqhEbK19kcxVJrD3D
skip_symbols: true
- provider: NuGet
api_key:
secure: CWvVx1TY0/+MhzCHJvjLbkokE2GQJxVQPgCX7BwkKQiDZwuLuHRv8EzXxWxCAbvA
skip_symbols: true
on:
branch: master
appveyor_repo_tag: true