forked from MassTransit/MassTransit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
80 lines (71 loc) · 2.75 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
branches:
only:
- develop
- master
skip_tags: true
skip_commits:
files:
- docs/*
- '**/*.html'
image: Visual Studio 2017
configuration: Release
platform: Any CPU
services:
- mongodb
- postgresql
nuget:
project_feed: true
disable_publish_on_pr: true
install:
# Install DocumentDB Emulator
- ps: Start-FileDownload 'https://aka.ms/cosmosdb-emulator' -FileName 'C:\CosmosDB.Emulator.msi'
- cmd: cmd /c start /wait msiexec.exe /i C:\CosmosDB.Emulator.msi /quiet /qn /norestart /log install.log
- ps: >-
& "${env:ProgramFiles}\Azure Cosmos DB Emulator\CosmosDB.Emulator.exe" /NoExplorer /NoUI /NoFirewall
build_script:
- cmd: >-
@echo off
cls
SET PGUSER=postgres
SET PGPASSWORD=Password12!
PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
createdb MartenTest
If Not Exist src\.nuget\nuget.exe msbuild src\.nuget\NuGet.targets -Target:RestorePackages
If Not Exist src\packages\gitlink\lib\net45\GitLink.exe src\.nuget\nuget.exe Install gitlink -Source "https://www.nuget.org/api/v2/" -OutputDirectory "src\packages" -ExcludeVersion
If Not Exist src\packages\FAKE\tools\fake.exe src\.nuget\nuget.exe Install FAKE -OutputDirectory "src\packages" -ExcludeVersion
src\packages\FAKE\tools\fake.exe build.fsx %*
test:
assemblies:
- src/MassTransit.Tests/bin/Release/net452/MassTransit.Tests.dll
- src/Containers/MassTransit.Containers.Tests/bin/Release/net452/MassTransit.Containers.Tests.dll
- src/MassTransit.AutomatonymousIntegration.Tests/bin/Release/net461/MassTransit.AutomatonymousIntegration.Tests.dll
- src/Persistence/MassTransit.MongoDbIntegration.Tests/bin/Release/net452/MassTransit.MongoDbIntegration.Tests.dll
- src/Persistence/MassTransit.MartenIntegration.Tests/bin/Release/net452/MassTransit.MartenIntegration.Tests.dll
- src/Persistence/MassTransit.NHibernateIntegration.Tests/bin/Release/net461/MassTransit.NHibernateIntegration.Tests.dll
- src/Persistence/MassTransit.DocumentDbIntegration.Tests/bin/Release/MassTransit.DocumentDbIntegration.Tests.dll
- src/MassTransit.HttpTransport.Tests/bin/Release/net452/MassTransit.HttpTransport.Tests.dll
categories:
except:
- Flakey
artifacts:
- path: build_artifacts/*.nupkg
name: Packages
deploy:
- provider: NuGet
name: Prerelease
api_key:
secure: 1hPeINzu7/7sZj1aX7UwoqzdraOa6uZuJtS0yqYEY85p7PcAU2Xd+E3pjE+q8P33
on:
branch: develop
- provider: NuGet
name: Release
api_key:
secure: 1hPeINzu7/7sZj1aX7UwoqzdraOa6uZuJtS0yqYEY85p7PcAU2Xd+E3pjE+q8P33
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