File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<packages >
33 <package id =" NuGet.CommandLine" version =" 2.8.3" />
4+ <package id =" OpenCover" version =" 4.6.166" />
45</packages >
Original file line number Diff line number Diff line change 44
55[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/8jw2lq431kgg44jl/branch/master?svg=true )] ( https://ci.appveyor.com/project/sharwell/stylecopanalyzers/branch/master )
66
7+ [ ![ codecov.io] ( http://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers/coverage.svg?branch=master )] ( http://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers?branch=master )
8+
79This repository contains an implementation of the StyleCop rules using the .NET Compiler Platform. Where possible, code fixes are also provided to simplify the process of correcting violations.
810
911## Using StyleCop.Analyzers
Original file line number Diff line number Diff line change @@ -7,7 +7,13 @@ install:
77before_build :
88- nuget restore
99build :
10+ project : StyleCopAnalyzers.sln
1011 verbosity : minimal
12+ test_script :
13+ - .\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\stylecopanalyzers\StyleCop.Analyzers\StyleCop.Analyzers.Test\bin\Debug\StyleCop.Analyzers.Test.dll -noshadow -appveyor" -filter:"+[StyleCop*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\StyleCopAnalyzers_coverage.xml
14+ - " SET PATH=C:\\ Python34;C:\\ Python34\\ Scripts;%PATH%"
15+ - pip install codecov
16+ - codecov -f "StyleCopAnalyzers_coverage.xml"
1117# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
1218cache :
1319 - packages -> **\packages.config
You can’t perform that action at this time.
0 commit comments