forked from MassTransit/MassTransit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
85 lines (66 loc) · 2.02 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
75
76
77
78
79
80
81
82
83
84
85
version: 5.5.3.{build}
branches:
only:
- develop
- master
skip_tags: true
skip_commits:
files:
- docs/**/*
- '**/*.html'
image:
- Visual Studio 2017
- Ubuntu1804
services:
- mongodb
- postgresql
- mssql
- rabbitmq
- redis
build: off
test: off
artifacts:
- path: artifacts/*.*nupkg
name: Packages
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
# cmd and ps will only be ran on windows images, sh will only be ran on linux images
build_script:
- cmd: >-
SET PGUSER=postgres
SET PGPASSWORD=Password12!
PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
createdb MartenTest
- ps: .\Build.ps1
- sh: >-
wget https://dl.bintray.com/rabbitmq/community-plugins/3.6.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171215-3.6.x.zip
sudo unzip ./rabbitmq_delayed_message_exchange-20171215-3.6.x.zip -d /usr/lib/rabbitmq/plugins
sudo rabbitmqctl add_vhost test
sudo rabbitmqctl set_permissions -p test guest ".*" ".*" ".*"
sudo rabbitmq-plugins enable rabbitmq_delayed_message_exchange
- sh: ./build.sh
install:
# Follow Official Appveyor Initialization: https://github.com/appveyor-tests/CosmosDb/blob/master
- ps: |
Set-Content -Value '"C:\Program Files\Azure Cosmos DB Emulator\CosmosDB.Emulator.exe" /NoUI /NoExplorer /NoFirewall' -Path .\startCosmosDb.cmd
Start-Process -FilePath .\startCosmosDb.cmd
.\waitforport.ps1 -port 8081 -maxAttempts 4
deploy:
- provider: NuGet
name: Prerelease
api_key:
secure: 0B2TmwiOnNW+CavGbvgr6S8WcuB2A/5enkf/ZrlRW+8Q8AwW5P9T7+B3QDAtYiEi
on:
branch: develop
- provider: NuGet
name: Release
api_key:
secure: 0B2TmwiOnNW+CavGbvgr6S8WcuB2A/5enkf/ZrlRW+8Q8AwW5P9T7+B3QDAtYiEi
on:
branch: master
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/27919bcbf1f770b0befd
on_build_success: true
on_build_failure: true
on_build_status_changed: true