-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
73 lines (56 loc) · 1.5 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
version: 2.0.{build}
branches:
only:
- master
image: Visual Studio 2017
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build_script:
- cmd: >-
dotnet restore "SqlRepo"
dotnet build "SqlRepo"
dotnet restore "SqlRepo.SqlServer"
dotnet build "SqlRepo.SqlServer"
dotnet restore "SqlRepo.SqlServer.Static"
dotnet build "SqlRepo.SqlServer.Static"
dotnet restore "SqlRepo.SqlServer.Autofac"
dotnet build "SqlRepo.SqlServer.Autofac"
dotnet restore "SqlRepo.SqlServer.NInject"
dotnet build "SqlRepo.SqlServer.NInject"
dotnet restore "SqlRepo.SqlServer.ServiceCollection"
dotnet build "SqlRepo.SqlServer.ServiceCollection"
dotnet restore "SqlRepo.Testing"
dotnet build "SqlRepo.Testing"
dotnet restore "SqlRepo.Tests"
dotnet build "SqlRepo.Tests"
dotnet restore "SqlRepo.SqlServer.Tests"
dotnet build "SqlRepo.SqlServer.Tests"
test:
assemblies:
only:
- '**\*.Tests.dll'
artifacts:
- path: '**\SqlRepo*.nupkg'
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: lCLiRn5lE1tXGSdJLTpkshQtUSw63lvOMGBFyWnxws5/7cG5R2ZLr7i9kaHNKJJs
on:
branch: master
notifications:
- provider: Email
to:
subject: SqlRepo Build Notification
on_build_success: true
on_build_failure: true
on_build_status_changed: false