forked from johnkors/IdentityServer3.Contrib.Localization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
84 lines (78 loc) · 1.92 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
# configuration for "master" branch
# build in Release mode and deploy to Azure
-
branches:
only:
- master
configuration: Release
version: 0.2.{build}
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- cmd: nuget restore source\Contrib.sln
before_build:
- ps: .\updatenuspecversion.ps1
build:
project: source\Contrib.sln
publish_nuget: true
verbosity: minimal
test:
assemblies:
- '**\*tests.dll'
deploy:
provider: NuGet
api_key:
secure: di77CstF0jvvy/vMgIrYsvrL8ErTWxKbAImcUDdUERD/Zosdta7uM07XuW19vweY
artifact: /.*\.nupkg/
# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
branches:
only:
- dev
configuration: Release
version: 0.3.{build}-pre
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- cmd: nuget restore source\Contrib.sln
before_build:
- ps: .\updatenuspecversion.ps1
build:
project: source\Contrib.sln
publish_nuget: true
verbosity: minimal
test:
assemblies:
- '**\*tests.dll'
# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
configuration: Release
version: 0.001.{build}-unspecified
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- cmd: nuget restore source\Contrib.sln
before_build:
- ps: .\updatenuspecversion.ps1
build:
project: source\Contrib.sln
publish_nuget: false
verbosity: minimal
test:
assemblies:
- '**\*tests.dll'