-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
89 lines (72 loc) · 2.71 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
-
#branches:
#only:
# - *
# - develop
# - release
os: Visual Studio 2015
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(GitVersion_AssemblySemVer)'
assembly_file_version: '$(GitVersion_AssemblySemVer)'
assembly_informational_version: '$(GitVersion_NuGetVersion)'
install:
# GitVersion doesn't support SSH, so change the origin remote to an HTTPS URL (if using a private server:
# http://help.appveyor.com/discussions/kb/17-getting-gitversion-to-work-with-private-bitbucketgithub-repositories
# Ensure the GITVERSION_REMOTE_USERNAME and GITVERSION_REMOTE_PASSWORD env variables are set in either this file or the project configuration.
- git remote set-url origin https://github.com/daleholborow/iayos.intrinioapi.git
- GitVersion -output buildserver
before_build:
- nuget restore src\iayos.intrinioapi.sln
- echo %GitVersion_NuGetVersion%
- cd src\iayos.intrinioapi.Api.Test
- echo hack to manually create a private settings file so that Test project can copy it during the build and bundle > AppSettings.Private.config
- cd ..
- cd ..
build:
publish_nuget: true
verbosity: minimal
test: off
configuration:
- Debug
cache:
- packages
-
branches:
only:
- master
os: Visual Studio 2015
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(GitVersion_AssemblySemVer)'
assembly_file_version: '$(GitVersion_AssemblySemVer)'
assembly_informational_version: '$(GitVersion_NuGetVersion)'
install:
# GitVersion doesn't support SSH, so change the origin remote to an HTTPS URL (if using a private server:
# http://help.appveyor.com/discussions/kb/17-getting-gitversion-to-work-with-private-bitbucketgithub-repositories
# Ensure the GITVERSION_REMOTE_USERNAME and GITVERSION_REMOTE_PASSWORD env variables are set in either this file or the project configuration.
- git remote set-url origin https://github.com/daleholborow/iayos.intrinioapi.git
- GitVersion -output buildserver
before_build:
- nuget restore src\iayos.intrinioapi.sln
- echo %GitVersion_NuGetVersion%
- cd src\iayos.intrinioapi.Api.Test
- echo hack to manually create a private settings file so that Test project can copy it during the build and bundle > AppSettings.Private.config
- cd ..
- cd ..
build:
publish_nuget: true
verbosity: minimal
test: off
configuration:
- Release
cache:
- packages
deploy:
provider: NuGet
api_key:
secure: RecutddoR0t/Ux0kW2FMkNmucowRhtk6W5vWfwAjnodkpf6zLZwr0stBeYiPfBsk
skip_symbols: true
artifact: /.*\.nupkg/