代码拉取完成,页面将自动刷新
image:
- Visual Studio 2019
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\replica-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\replica-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
redis-server.exe --service-install --service-name "redis-26381" "..\Sentinel\sentinel-26381.conf" --sentinel
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: .\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: main
api_key:
secure: P/UHxq2DEs0GI1SoDXDesHjRVsSVgdywz5vmsnhFQQY5aJgO3kP+QfhwfhXz19Rw
symbol_server: https://www.myget.org/F/stackoverflow/symbols/api/v2/package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。