forked from HangfireIO/Hangfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
89 lines (69 loc) · 2.15 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
81
82
83
84
85
86
87
88
89
# 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.6.2-build-0{build}
os: Visual Studio 2015
#---------------------------------#
# environment configuration #
#---------------------------------#
# environment variables
environment:
BuildEnvironment: appveyor
Hangfire_SqlServer_ConnectionStringTemplate: Server=.\SQL2008R2SP2;Database={0};User Id=sa;Password=Password12!
COVERALLS_REPO_TOKEN:
secure: oE4uB475V9hPzKmm+ZRP+1BacnMFOE98a/2tVeFieYJi5BbYG6X3VM+p6vKIQZdd
# enable service required for tests
services:
- mssql2008r2sp2
- msmq
# branches to build
branches:
# whitelist
only:
- master
- dev
pull_requests:
do_not_increment_build_number: true
shallow_clone: true
cache:
- packages
#---------------------------------#
# build configuration #
#---------------------------------#
# to run your custom scripts instead of automatic MSBuild
build_script:
- build.bat pack
- dotnet restore
- dotnet test tests/Hangfire.Core.Tests
after_build:
- packages\coveralls.io.1.3.4\tools\coveralls.net --opencover coverage.xml
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'build\**\*.nupkg'
- path: 'build\**\*.zip'
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: GitHub
auth_token:
secure: Kx+tJBMfq/OK7sMpvQDdigFOIIfzYkVmIHxNQetanQdIA5Mb8zm/VhAkrId4x5zW
artifact: /.*\.zip/
draft: true
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: 8BQmcR1hP9MoxvrmXJKMtlRyX6LI36H9ZTU8fSEetvzMGCl1PUlXKZRUGq+GVMja
on:
appveyor_repo_tag: true