1
1
version : ' 2.1.1.{build}'
2
2
3
+ # add nuget api to hosts file, making sure we can actually nuget restore for the build
4
+ hosts :
5
+ api.nuget.org : 93.184.221.200
6
+
7
+ # enforce crlf fixing
8
+ init :
9
+ git config --global core.autocrlf true
10
+ # restrict how much history we try to grab
11
+ clone_depth : 3
12
+ # ignore a certain subset of files when evaluating build-changes
3
13
skip_commits :
4
14
files :
5
15
- docs/*
6
16
- ' **/*.md'
7
- - ' **/*.yml'
17
+ # - '**/*.yml'
8
18
- license
9
19
- License.rtf
10
20
branches :
@@ -13,69 +23,78 @@ branches:
13
23
- next
14
24
skip_tags : true
15
25
26
+ # build-matrix: all Release CPUs on VS2017
16
27
image : Visual Studio 2017
17
28
configuration : Release
18
- platform : Any CPU
29
+ platform :
30
+ - Any CPU
31
+ - x64
32
+ - x86
33
+
34
+ # cache the nuget packages unless something changed there
35
+ cache :
36
+ - packages/ -> **/packages.config
37
+
38
+
19
39
install :
20
- - cmd : set PATH=C:\Program Files (x86)\MSBuild\15.0\Bin;%PATH%
21
- init :
22
- - git config --global core.autocrlf true
23
- before_build :
24
- - choco install innosetup
25
- build :
26
- verbosity : minimal
40
+ set PATH=C:\Program Files (x86)\MSBuild\15.0\Bin;%PATH%
27
41
assembly_info :
28
42
patch : true
29
43
file : RetailCoder.VBE\Properties\AssemblyInfo.cs
30
44
assembly_version : ' {version}'
31
- hosts :
32
- api.nuget.org : 93.184.221.200
45
+
46
+ before_build :
47
+ cinst innosetup
48
+ build :
49
+ verbosity : minimal
50
+
33
51
before_package :
34
- - cmd : copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
52
+ - copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
35
53
36
54
for :
37
- - branches :
38
- only :
39
- - next
40
- after_test :
41
- - iscc /q "Installer Build Script.iss"
42
- - cmd : move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
43
- - branches :
44
- only :
45
- - master
46
- after_test :
47
- - iscc /q "Installer Build Script.iss"
48
- - cmd : move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
55
+ - branches :
56
+ only :
57
+ - next
58
+ after_test :
59
+ - iscc /q "Installer Build Script.iss"
60
+ - move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
61
+ - branches :
62
+ only :
63
+ - master
64
+ after_test :
65
+ - iscc /q "Installer Build Script.iss"
66
+ - move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
49
67
68
+ # grab the installers we produce and upload them to github :)
50
69
artifacts :
51
- - path : Installers\Rubberduck.Setup.*.exe
52
- name : Rubberduck
70
+ - path : Installers\Rubberduck.Setup.*.exe
71
+ name : Rubberduck
53
72
deploy :
54
- - provider : GitHub
55
- tag : Rubberduck v$(appveyor_build_version)
56
- release : Rubberduck v$(appveyor_build_version)
57
- description : AppVeyor build on [master] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
58
- auth_token :
59
- secure : oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
60
- artifact : Installers\Rubberduck.Setup.$(appveyor_build_version).exe
61
- draft : true
62
- prerelease : false
63
- on :
64
- branch : master
65
- - provider : GitHub
66
- tag : Rubberduck v$(appveyor_build_version)
67
- release : Rubberduck v$(appveyor_build_version)-pre
68
- description : AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
69
- auth_token :
70
- secure : oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
71
- artifact : Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe
72
- draft : false
73
- prerelease : true
74
- on :
75
- branch : next
73
+ - provider : GitHub
74
+ tag : Rubberduck v$(appveyor_build_version)
75
+ release : Rubberduck v$(appveyor_build_version)
76
+ description : AppVeyor build on [master] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
77
+ auth_token :
78
+ secure : oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
79
+ artifact : Installers\Rubberduck.Setup.$(appveyor_build_version).exe
80
+ draft : true
81
+ prerelease : false
82
+ on :
83
+ branch : master
84
+ - provider : GitHub
85
+ tag : Rubberduck v$(appveyor_build_version)
86
+ release : Rubberduck v$(appveyor_build_version)-pre
87
+ description : AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
88
+ auth_token :
89
+ secure : oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
90
+ artifact : Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe
91
+ draft : false
92
+ prerelease : true
93
+ on :
94
+ branch : next
76
95
notifications :
77
- - provider : Webhook
78
- url : http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
79
- on_build_success : true
80
- on_build_failure : true
81
- on_build_status_changed : false
96
+ - provider : Webhook
97
+ url : http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
98
+ on_build_success : true
99
+ on_build_failure : true
100
+ on_build_status_changed : false
0 commit comments