-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdisable_appveyor.yml
100 lines (100 loc) · 2.79 KB
/
disable_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
99
100
# Build configuration for Develop branch CI Build
-
branches:
only:
- develop
version: 4.7.59.{build}-{branch}
configuration:
- Debug
- Release
platform: Any CPU
clone_folder: C:\projects\visual-stylecop-ci
init:
- ps: git config --global core.autocrlf true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: 4.7.1000
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- ps: .\Build\Install.ps1
before_build:
- ps: .\Build\BeforeBuild.ps1
build:
project: Project\StyleCop.sln
verbosity: quiet
after_build:
- ps: .\Build\AfterBuild.ps1
test_script:
- ps: .\Build\Tests.ps1
artifacts:
- path: Project/Src/VSIXProject/bin/%CONFIGURATION%/VSIXProject.vsix
name: VisualStyleCop.vsix
- path: Visual-StyleCop.MSBuild.%Version%.nupkg
name: Visual-StyleCop.MSBuild.%Version%.nupkg
deploy: off
notifications:
- provider: Email
to:
subject: Visual StyleCop CI Build
message: Failed to build branch develop of Visual-StyleCop
on_build_success: false
on_build_failure: true
on_build_status_changed: false
on_finish:
- ps: >-
.\Build\BuildFinish.ps1
# Uncomment to stop build for remote desktop
# $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# Build configuration for Master branch (Release Build)
-
branches:
only:
- master
version: 4.7.59.{build}
pull_requests:
do_not_increment_build_number: true
configuration:
- Debug
- Release
platform: Any CPU
init:
- ps: git config --global core.autocrlf true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: 4.7.1000
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- ps: .\Build\Install.ps1
before_build:
- ps: .\Build\BeforeBuild.ps1
build:
project: Project\StyleCop.sln
verbosity: minimal
after_build:
- ps: .\Build\AfterBuild.ps1
test_script:
- cmd: .\Build\Tests.ps1
artifacts:
- path: Project/Src/VSIXProject/bin/%CONFIGURATION%/VSIXProject.vsix
name: VisualStyleCop.vsix
- path: Visual-StyleCop.MSBuild.%Version%.nupkg
name: Visual-StyleCop.MSBuild.%Version%.nupkg
deploy: off
notifications:
- provider: Email
to:
subject: Visual StyleCop Build
on_build_success: true
on_build_failure: true
on_build_status_changed: true
on_finish:
- ps: >-
.\Build\BuildFinish.ps1
# Uncomment to stop build for remote desktop
# $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))