forked from nunit/nunit.analyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (27 loc) · 1.14 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
image: Visual Studio 2022
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
build_script:
- ps: .\build.ps1 --target="Appveyor" --configuration="Release" --targetFramework="netstandard1.6"
- ps: .\build.ps1 --target="Appveyor" --configuration="Release" --targetFramework="netstandard2.0"
# disable built-in tests.
test: off
artifacts:
- path: 'package\Release\netstandard1.6\NUnit.Analyzers*.nupkg'
- path: 'package\Release\netstandard2.0\NUnit.Analyzers*.nupkg'
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