forked from zitmen/Orleans.Streams.RabbitMqStreamProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
executable file
·49 lines (46 loc) · 1.49 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: 2.4.3.{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
test: on
after_test:
- ps: dotnet pack .\Orleans.Streams.RabbitMqStreamProvider\Orleans.Streams.RabbitMqStreamProvider.csproj --configuration "Release;Platform=AnyCPU" --output ..\artifacts /p:Version=${env:APPVEYOR_BUILD_VERSION}
artifacts:
- path: .\artifacts\*.nupkg
name: Puhlish NuGets
deploy:
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
secure: jKqn1+4xTu3UgMkHYDzA6DoU7FKnhWAkRdUHmFW+ppBkhD3q0VIKWEkk28zrj8C8
skip_symbols: true
artifact: /.*\.nupkg/