forked from StackExchange/StackExchange.Redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
88 lines (61 loc) · 2.68 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
image:
- Visual Studio 2017
- Ubuntu
init:
- git config --global core.autocrlf input
install:
- cmd: >-
cd tests\RedisConfigs\3.0.503
redis-server.exe --service-install --service-name "redis-6379" "..\Basic\master-6379.conf"
redis-server.exe --service-install --service-name "redis-6380" "..\Basic\slave-6380.conf"
redis-server.exe --service-install --service-name "redis-6381" "..\Basic\secure-6381.conf"
redis-server.exe --service-install --service-name "redis-6382" "..\Failover\master-6382.conf"
redis-server.exe --service-install --service-name "redis-6383" "..\Failover\slave-6383.conf"
redis-server.exe --service-install --service-name "redis-7000" "..\Cluster\cluster-7000.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7001" "..\Cluster\cluster-7001.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7002" "..\Cluster\cluster-7002.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7003" "..\Cluster\cluster-7003.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7004" "..\Cluster\cluster-7004.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7005" "..\Cluster\cluster-7005.conf" --dir "..\Cluster"
redis-server.exe --service-install --service-name "redis-7010" "..\Sentinel\redis-7010.conf"
redis-server.exe --service-install --service-name "redis-7011" "..\Sentinel\redis-7011.conf"
redis-server.exe --service-install --service-name "redis-26379" "..\Sentinel\sentinel-26379.conf" --sentinel
redis-server.exe --service-install --service-name "redis-26380" "..\Sentinel\sentinel-26380.conf" --sentinel
cd ..\..\..
- sh: >-
cd tests/RedisConfigs
chmod +x start-all.sh
./start-all.sh
cd ../..
- ps: >-
if (Get-Command "Start-Service" -errorAction SilentlyContinue) {
Start-Service redis-*
}
skip_branch_with_pr: true
skip_tags: true
skip_commits:
files:
- '**/*.md'
- docs/*
environment:
Appveyor: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
nuget:
disable_publish_on_pr: true
build_script:
- ps: >-
if ($env:OS -eq "Windows_NT") {
.\build\dotnet-install.ps1 -Version 2.1.400
}
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages ($env:OS -eq "Windows_NT")
test: off
artifacts:
- path: .\.nupkgs\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/stackoverflow/api/v2
on:
branch: master
api_key:
secure: P/UHxq2DEs0GI1SoDXDesHjRVsSVgdywz5vmsnhFQQY5aJgO3kP+QfhwfhXz19Rw
symbol_server: https://www.myget.org/F/stackoverflow/symbols/api/v2/package