forked from HangfireIO/Hangfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
80 lines (63 loc) · 2.21 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
73
74
75
76
77
78
79
80
# 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.
# Don't edit manually! Use `build.bat version` command instead!
version: 1.7.25-build-0{build}
image:
- Visual Studio 2019
- Ubuntu
#---------------------------------#
# environment configuration #
#---------------------------------#
# environment variables
environment:
BuildEnvironment: appveyor
Hangfire_SqlServer_ConnectionStringTemplate: Server=.\SQL2017;Database={0};User Id=sa;Password=Password12!
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: Bmfqrlce8vKi7VkTN/2yIBWl+M4oScDVTBA3DbHovzTslO6xzvBSoBT3Wb0fmOcc
on:
appveyor_repo_tag: true
notifications:
- provider: Slack
incoming_webhook:
secure: bqJhjmwwsSMJ/8imZJBOOtwbsNF51p24M8HZlIx1+asIHHUhXWHrP9vkuOPK3OnqNopmloLOOBoaEpYAkClkDuEC61a5Go5NY9KSSB9UMjk=
on_build_success: false
on_build_failure: true
on_build_status_changed: true