-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
appveyor.yml
76 lines (76 loc) · 2.12 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
version: 2.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2015
environment:
MADB_PFX_KEY:
secure: FJBT+POuE4uUdLGJRsmNsw==
VS_PFX_KEY:
secure: LYUvBEhpB5ZzJT6ij5xnSQ4QoeasERP+iATMxhRqNhs=
PUSHBULLET_API_TOKEN:
secure: 2MwCYfQNYPfPjDqNJ1EL8VrIydQNRz3MfhnuI9dzSZag9JwCnqk5k3mMYTFn4ORk
CI_PROJECT_FRIENDLY_NAME: Managed.Adb
install:
- ps: .\.appveyor\appveyor.install.ps1
before_build:
- ps: .\.appveyor\appveyor.before-build.ps1
build:
project: .\.build\BuildAll.msbuild
verbosity: detailed
after_build:
- ps: .\.appveyor\appveyor.after-build.ps1
test_script:
- ps: ./.appveyor/appveyor.test.ps1
artifacts:
- path: '**\Managed.Adb.*.zip'
name: Zips
- path: '**\Managed.Adb.*.nupkg'
name: Nupkg
- path: '*.coverage.xml'
name: Coverage
before_deploy:
- ps: .\.appveyor\appveyor.before-deployment.ps1
deploy:
- provider: GitHub
tag: $(APPVEYOR_PROJECT_NAME)-v$(CI_BUILD_VERSION)
release: $(APPVEYOR_PROJECT_NAME)-v$(CI_BUILD_VERSION)
description: $(CI_RELEASE_DESCRIPTION)
auth_token:
secure: UEgy2H9zJKLi599QoO3qVf5BKFqloRQ246ez9cEgsfV3vooAUfVopMS9+IjRtArL
artifact: Zips
draft: true
force_update: true
on:
branch: master
CI_DEPLOY_GITHUB: True
- provider: NuGet
api_key:
secure: /M57OlSjcpugJFARA+j30alG5I+J1QxfRCDi5lWU3YhhzE1kxqLiAxtO+Bu7bQJt
artifact: Nupkg
on:
branch: /^(master|develop)$/
CI_DEPLOY_NUGET: True
- provider: GitHub
tag: $(APPVEYOR_PROJECT_NAME)-v$(CI_BUILD_VERSION)-prerelease
release: $(APPVEYOR_PROJECT_NAME)-v$(CI_BUILD_VERSION)-prerelease
description: $(CI_RELEASE_DESCRIPTION)
auth_token:
secure: UEgy2H9zJKLi599QoO3qVf5BKFqloRQ246ez9cEgsfV3vooAUfVopMS9+IjRtArL
draft: true
artifact: Zips
prerelease: true
force_update: true
on:
branch: develop
CI_DEPLOY_GITHUB_PRE: True
after_deploy:
- ps: .\.appveyor\appveyor.after-deployment.ps1
notifications:
- provider: Slack
auth_token:
secure: dEyWFeGEKdMmajrfGAYOGhWPEpivj1DiWu1xbbngPVcDW8vucg7JvWtJWTdARJ2bLedEg009P1o0JupLLx69Fg==
channel: notifications
on_build_success: true
on_build_failure: true
on_build_status_changed: false