forked from zitmen/Orleans.Streams.RabbitMqStreamProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·49 lines (46 loc) · 1.51 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
environment:
rabbitmq_download_url: https://www.rabbitmq.com/releases/rabbitmq-server/v3.5.2/rabbitmq-server-3.5.2.exe
rabbitmq_installer_path: C:\Users\appveyor\rabbitmq.exe
cache:
- "%rabbitmq_installer_path%"
install:
- echo Downloading Rabbit...
- ps: |
$webclient = New-Object System.Net.WebClient
if (-Not (Test-Path "$env:rabbitmq_installer_path")) {
$webclient.DownloadFile("$env:rabbitmq_download_url", "$env:rabbitmq_installer_path")
} else {
Write-Host "Found" $env:rabbitmq_installer_path "in cache."
}
- echo Installing Rabbit...
- start /B /WAIT %rabbitmq_installer_path% /S
- ps: (Get-Service -Name RabbitMQ).Status
version: 1.5.2.{build}
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
image: Visual Studio 2017
configuration: Release
platform: Any CPU
nuget:
disable_publish_on_pr: true
before_build:
- cmd: nuget restore
build:
verbosity: normal
after_build:
- ps: nuget pack .\Orleans.Streams.RabbitMqStreamProvider\Orleans.Streams.RabbitMqStreamProvider.csproj -Build -properties "Configuration=Release;Platform=AnyCPU" -OutputDirectory .\artifacts -Version ${env:APPVEYOR_BUILD_VERSION}
test: on
artifacts:
- path: .\artifacts\*.nupkg
name: Puhlish NuGets
deploy:
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
secure: cjkBbuP0LYoH4nivxeHrhKf+0ge2twfXpKtyFxDzri+fBzN/9qDz0o2jXHC9NJ0a
skip_symbols: true
artifact: /.*\.nupkg/