forked from BrighterCommand/Brighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
92 lines (76 loc) · 4.32 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
86
87
88
89
90
91
92
version: 7.1.{build}
configuration: Release
image: Visual Studio 2017
services:
- mssql2016
- mysql
- postgresql
environment:
Sql__TestsBrighterConnectionString: Server=(local)\SQL2016;Database=BrighterTests;User ID=sa;Password=Password12!;Application Name=BrighterTests
Sql__TestsMasterConnectionString: Server=(local)\SQL2016;Database=master;User ID=sa;Password=Password12!;Application Name=BrighterTests
MySql__TestsBrighterConnectionString: Server=localhost;Uid=root;Pwd=Password12!;Database=BrighterTests
MySql__TestsMasterConnectionString: Server=localhost;Uid=root;Pwd=Password12!
PostgreSql__TestsBrighterConnectionString: Host=localhost;Username=postgres;Password=Password12!;Database=brightertests
PostgreSql__TestsMasterConnectionString: Host=localhost;Username=postgres;Password=Password12!
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
- testappveyor
# blacklist
except:
- gh-pages
skip_commits:
files:
- '**/*.md'
skip_tags: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: 7.0.0.0
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
dotnet_csproj:
patch: true
file: '**\*.csproj;**\*.props'
version: '{version}'
package_version: '{version}'
assembly_version: 7.0.0.0
file_version: '{version}'
informational_version: '{version}'
nuget:
project_feed: true
disable_publish_on_pr: true
install:
- nuget install redis-64 -ExcludeVersion
- redis-64\tools\redis-server.exe --service-install
- redis-64\tools\redis-server.exe --service-start
before_build:
- cmd: dotnet --info
- cmd: dotnet restore --verbosity Minimal
build_script:
- cmd: dotnet build --configuration %CONFIGURATION%
after_build:
- cmd: dotnet pack src\Paramore.Brighter --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.ServiceActivator --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.CommandStore.MsSql --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.CommandStore.Sqlite --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessageStore.EventStore --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessageStore.MsSql --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessageStore.MySql --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessageStore.Sqlite --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessagingGateway.AWSSQS --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessagingGateway.AzureServiceBus --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessagingGateway.RESTMS --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src\Paramore.Brighter.MessagingGateway.RMQ --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
test_script:
- cmd: dotnet test tests\Paramore.Brighter.Tests\Paramore.Brighter.Tests.csproj --filter "Category!=RMQ & Category!=AWS & Category != RESTMS"
artifacts:
- path: nupkgs\*.nupkg
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/f67b9440940cca246ec4
on_build_success: true
on_build_failure: true
on_build_status_changed: true