Skip to content

Commit 35e8895

Browse files
authored
Merge pull request #2605 from sharwell/appveyor-cache
Enable AppVeyor caching for new-style NuGet packages
2 parents 7f8a417 + 47c3e34 commit 35e8895

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ test_script:
1111
- .\packages\OpenCover.4.6.247-rc\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\stylecopanalyzers\StyleCop.Analyzers\StyleCop.Analyzers.Test\bin\Debug\net452\StyleCop.Analyzers.Test.dll -noshadow -appveyor" -returntargetcode -filter:"+[StyleCop*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -output:.\StyleCopAnalyzers_coverage.xml
1212
- .\packages\OpenCover.4.6.247-rc\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\stylecopanalyzers\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp7\bin\Debug\net46\StyleCop.Analyzers.Test.CSharp7.dll -noshadow -appveyor" -returntargetcode -filter:"+[StyleCop*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -mergebyhash -mergeoutput -output:.\StyleCopAnalyzers_coverage.xml
1313
- .\packages\Codecov.1.0.1\tools\codecov.exe -f "StyleCopAnalyzers_coverage.xml"
14-
# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
1514
cache:
1615
- packages -> **\packages.config
16+
- C:\Users\appveyor\.nuget\packages -> appveyor.yml
1717
artifacts:
1818
- path: 'StyleCop.Analyzers\**\*.vsix'
1919
- path: 'StyleCop.Analyzers\**\*.nupkg'

0 commit comments

Comments
 (0)