forked from DotNetAnalyzers/StyleCopAnalyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
25 lines (24 loc) · 875 Bytes
/
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
version: '{build}'
image: Visual Studio 2019
init:
- git config --global core.autocrlf true
configuration:
- Debug
- Release
before_build:
- ps: .\init.ps1 -NoRestore
- nuget restore
skip_tags: true
build:
project: StyleCopAnalyzers.sln
verbosity: minimal
test_script:
- .\StyleCop.Analyzers\StyleCop.Analyzers.Status.Generator\bin\%Configuration%\net472\StyleCop.Analyzers.Status.Generator.exe .\StyleCopAnalyzers.sln > StyleCop.Analyzers.Status.json
cache:
- packages -> **\packages.config
- C:\Users\appveyor\.nuget\packages -> appveyor.yml
# 'Release' is hard-coded to ensure VSIX and NuGet artifacts are only published for release configuration builds
artifacts:
- path: 'StyleCop.Analyzers\StyleCop.Analyzers.Vsix\bin\Release\net452\*.vsix'
- path: 'StyleCop.Analyzers\StyleCop.Analyzers.CodeFixes\bin\Release\*.nupkg'
- path: 'StyleCop.Analyzers.Status.json'