forked from HangfireIO/Hangfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
73 lines (56 loc) · 1.97 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
64
65
66
67
68
69
70
71
72
# AppVeyor CI build file, https://ci.appveyor.com/project/odinserj/hangfire
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
# Please don't edit it manually, use the `build.bat version` command instead.
version: 1.8.5-build-0{build}
image:
- Visual Studio 2022
- Ubuntu
#---------------------------------#
# environment configuration #
#---------------------------------#
# environment variables
environment:
BuildEnvironment: appveyor
Hangfire_SqlServer_ConnectionStringTemplate: Server=.\SQL2017;Database={0};User Id=sa;Password=Password12!;Encrypt=False
DOCKER_USERNAME:
secure: BDjid/SqKs9YCA39j55dIg==
DOCKER_PASSWORD:
secure: 5QtoskttMBDkXfFyFZSLhZIlUfsDUDgkCS9jy7rUM6ROPeRytpzEdkIXA5UNNV9K
# enable service required for tests
services:
- mssql2017
pull_requests:
do_not_increment_build_number: true
shallow_clone: true
#---------------------------------#
# build configuration #
#---------------------------------#
# Installing MSMQ manually to avoid "Cannot initialize 'msmq' service handler" error
build_script:
- cmd: powershell Import-Module ServerManager; Add-WindowsFeature MSMQ; net start msmq
- cmd: ./build.bat ci
- sh: chmod +x build.sh; ./build.sh
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'build\**\*.nupkg'
- path: 'build\**\*.zip'
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: NuGet
skip_symbols: true
api_key:
secure: GdfWH5BGrFoHBIuQPebg1ci3odJAeUUOZ2KFJR7y0mBU+kwicu/lNow1vRRjLBU3
on:
appveyor_repo_tag: true