forked from exceptionless/Exceptionless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
74 lines (61 loc) · 2.08 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
version: 3.5.{build}
os: Visual Studio 2015
configuration: Release
clone_depth: 2
pull_requests:
do_not_increment_build_number: true
environment:
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
ES_VERSION: 1.7.5
API_URL: https://#{api.hostheader}
BUILD_REPO_URL:
secure: vuYBT6D5arel88+Py/H3nnMPd4hInIXvr2cwhJaZSSSvJnmg+9sX1P5+bTWaJskYpGztHVMg0Iq7hgUCMKjh23w8WBrutLiUsixRE0LBjroIVJaRsYG1okSko0fNKVOCUMQAue0lh2sYqQ/TQlDbwg==
BUILD_APP_REPO_URL:
secure: vuYBT6D5arel88+Py/H3nnMPd4hInIXvr2cwhJaZSSSvJnmg+9sX1P5+bTWaJskYpGztHVMg0Iq7hgUCMKjh23w8WBrutLiUsixRE0LBjroIVJaRsYG1okSko0fNKVOCyOLKGt19Qrk45/TrTFlGMQ==
init:
- git config --global core.autocrlf true
- git config --global user.email "[email protected]"
- git config --global user.name "AppVeyor CI"
- ps: $env:GIT_HASH = $env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
assembly_info:
patch: true
file: Source\GlobalAssemblyInfo.cs
assembly_version: "{version}.0"
assembly_file_version: "{version}.0"
assembly_informational_version: "{version} $(GIT_HASH)"
before_build:
- nuget restore -verbosity quiet
- ps: .\Libraries\Start-ElasticSearch.ps1
- SET PATH="C:\Program Files (x86)\MSBuild\14.0\Bin";%PATH%"
build:
parallel: true
verbosity: quiet
before_test:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test:
assemblies:
- '**\*.Tests.dll'
after_test:
- ps: .\Libraries\Push-Artifacts.ps1
artifacts:
- path: release\*.zip
name: ReleaseArtifacts
before_deploy:
- ps: .\Libraries\Create-Release.ps1
deploy:
provider: GitHub
auth_token:
secure: 0s81q7bweVLTFSOKxnIhan7el6bIFiN8HJ1kYJzOkeFXX7wgGSq9bs/rV53X9qpf
artifact: ReleaseArtifacts
draft: true
on:
branch: master
appveyor_repo_tag: true
notifications:
- provider: Slack
channel: '#notifications'
auth_token:
secure: GniMpFE62HprSyQNQoej/fBOAdbQe8EMWAMMNXX0s2JxeNePjemiO1bCf4eYweE4p70mm0sCwMjeEP/Ps9aTMA==
on_build_success: true
on_build_failure: true
on_build_status_changed: false