forked from DotNetAnalyzers/AsyncUsageAnalyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
19 lines (19 loc) · 960 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: 1.0.{build}
os: Visual Studio 2015
init:
- git config --global core.autocrlf true
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
before_build:
- nuget restore
build:
project: AsyncUsageAnalyzers.sln
verbosity: minimal
test_script:
- .\packages\OpenCover.4.6.247-rc\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\asyncusageanalyzers\AsyncUsageAnalyzers\AsyncUsageAnalyzers.Test\bin\Debug\AsyncUsageAnalyzers.Test.dll -noshadow -appveyor" -returntargetcode -filter:"+[AsyncUsage*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\AsyncUsageAnalyzers_coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "AsyncUsageAnalyzers_coverage.xml"
# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
cache:
- packages -> **\packages.config