forked from exceptionless/Exceptionless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
69 lines (56 loc) · 1.74 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
version: 3.2.{build}
os: Visual Studio 2015
configuration: Release
clone_depth: 2
environment:
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
ES_VERSION: 1.7.3
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 "builds@exceptionless.io"
- git config --global user.name "AppVeyor CI"
install:
- 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
build:
parallel: true
verbosity: quiet
before_test:
- ps: .\Libraries\Start-ElasticSearch.ps1
#- ps: .\Libraries\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
auth_token:
secure: PigIGGo7UUDwdb0KGM/s7OfpAng/OMJx7q33jKfzudFBiXi1EBEd0DRmkbCc7CiX
channel: notifications