-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathappveyor.yml
57 lines (56 loc) · 1.54 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
# configuration for "master" branch
-
branches:
only:
- master
image: Visual Studio 2017
platform: Any CPU
configuration: Release
build_script:
- ps: $env:MYSQL_PWD="Password12!"
- ps: $cmd = '"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql" -e "create database akka_persistence_tests;" --user=root'
- ps: iex "& $cmd"
- ps: ./build.ps1 Build
test_script:
- ps: ./build.ps1 RunTests
- ps: ./build.ps1 CreateNuget
services:
- mysql
artifacts:
- path: build/nuget/*.nupkg
name: nuget
deploy:
provider: NuGet
api_key:
secure: e7KuwYUTHtAEEVbxsIkRZR2052wcsY3DYJBGOpmGoIO2bHJyucVr7r50/TdXIQgw
skip_symbols: false
artifact: /.*\.nupkg/
# configuration for all branches starting from "dev"
-
branches:
only:
- dev
image: Visual Studio 2017
platform: Any CPU
configuration: Release
build_script:
- ps: $env:MYSQL_PWD="Password12!"
- ps: $cmd = '"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql" -e "create database akka_persistence_tests;" --user=root'
- ps: iex "& $cmd"
- ps: ./build.ps1 Build
test_script:
- ps: ./build.ps1 RunTests
- ps: ./build.ps1 CreateNuget
services:
- mysql
artifacts:
- path: build/nuget/*.nupkg
name: nuget
deploy:
provider: NuGet
server: https://www.myget.org/F/akkadotnet-contrib/api/v2/package
api_key:
secure: yoMgcchmDuXbvT90bgrUTOUNYgAId6QI0nofIOtnlfWzMjDEWfOqNqqTGPY+02M+
skip_symbols: false
symbol_server: https://www.myget.org/F/akkadotnet-contrib/symbols/api/v2/package
artifact: /.*\.nupkg/