forked from kevbite/CompaniesHouse.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
98 lines (73 loc) · 1.93 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
90
91
92
93
94
95
96
97
98
-
branches:
only:
- master
version: 3.2.1
install:
- ps : .\environment-install.ps1
assembly_info:
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
file: AssemblyInfo.*
patch: true
image: Visual Studio 2017
before_build:
- ps : .\build-before_build.ps1
build:
parallel: true
verbosity: normal
after_build:
- ps : dotnet pack .\src\CompaniesHouse\CompaniesHouse.csproj -c Release /p:Version=$env:APPVEYOR_BUILD_VERSION
environment:
CompaniesHouseApiKey:
secure: MyplhKXpS1d9yob+xCzzJvgePFVi4ts5sPuMGWS7k6mOnVl1EcDAR+mpGOSSQWUQ
configuration: Release
cache:
- packages -> **\packages.config
- C:\downloads -> appveyor.yml
test:
assemblies:
- '**\*.Tests.dll'
- '**\*.FunctionalTests.dll'
- '**\*.IntegrationTests.dll'
artifacts:
- path: '**\bin\**\*.nupkg'
deploy:
- provider: Environment
name: NuGet.org
-
branches:
except:
- master
version: 0.0.0-{branch}{build}
install:
- ps : .\environment-install.ps1
assembly_info:
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
file: AssemblyInfo.*
patch: true
image: Visual Studio 2017
before_build:
- ps : .\build-before_build.ps1
build:
parallel: true
verbosity: normal
after_build:
- ps : dotnet pack .\src\CompaniesHouse\CompaniesHouse.csproj -c Release /p:Version=$env:APPVEYOR_BUILD_VERSION
environment:
CompaniesHouseApiKey:
secure: MyplhKXpS1d9yob+xCzzJvgePFVi4ts5sPuMGWS7k6mOnVl1EcDAR+mpGOSSQWUQ
configuration: Release
cache:
- packages -> **\packages.config
- C:\downloads -> appveyor.yml
test:
assemblies:
- '**\*.Tests.dll'
- '**\*.FunctionalTests.dll'
- '**\*.IntegrationTests.dll'
artifacts:
- path: '**\bin\**\*.nupkg'