nunit.analyzers/appveyor.yml

36 строки
1.1 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

2022-03-19 11:31:19 +03:00
image: Visual Studio 2022
2018-03-21 02:00:02 +03:00
2022-07-22 06:21:17 +03:00
environment:
CLI_CHANNEL: 6.0.1xx
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri " https://dot.net/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel $env:CLI_CHANNEL -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
before_build:
- cmd: dotnet --version
2018-03-21 02:00:02 +03:00
build_script:
2022-03-30 13:18:23 +03:00
- ps: .\build.ps1 --target="Appveyor" --configuration="Release" --targetFramework="netstandard2.0"
2018-03-21 02:00:02 +03:00
# disable built-in tests.
test: off
2018-05-28 22:41:06 +03:00
artifacts:
- path: 'package\Release\netstandard2.0\NUnit.Analyzers*.nupkg'
2018-06-12 01:15:09 +03:00
deploy:
- provider: NuGet
server: https://www.myget.org/F/nunit-analyzers/api/v2/package
api_key:
secure: qXsslQqMhHj/tJrUnSJWFBn5OZCmF/Qf+esLbkuzlAvTFWkY9yae5uO80YiJirLA
skip_symbols: true
on:
branch: master
2023-11-19 14:49:31 +03:00
# For PRs, skip the branch run and only run against the virtual PR merge.
skip_branch_with_pr: true