File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+
4+ cd tests\CodeCoverage
5+
6+ nuget restore packages.config -PackagesDirectory .
7+
8+ cd ..
9+ cd ..
10+
11+ dotnet restore DateTimeAbstractions.sln
12+ rem Clean the solution to force a rebuild with /p:codecov=true
13+ dotnet clean DateTimeAbstractions.sln
14+
15+ rem The -threshold options prevents this taking ages...
16+ tests\CodeCoverage\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:" dotnet.exe" -targetargs:" test tests\Tocsoft.DateTimeAbstractions.Tests\Tocsoft.DateTimeAbstractions.Tests.csproj -c Release /p:codecov=true" -register:user -threshold:10 -oldStyle -safemode:off -output:.\Tocsoft.DateTimeAbstractions.Coverage.xml -hideskipped:All -returntargetcode -filter:" +[Tocsoft.DateTimeAbstractions*]*"
17+
18+ if %errorlevel% neq 0 exit /b %errorlevel%
19+
20+ SET PATH = C:\\Python34;C:\\Python34\\Scripts;%PATH%
21+ pip install codecov
22+ codecov -f " Tocsoft.DateTimeAbstractions.Coverage.xml"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <packages >
3+ <package id =" OpenCover" version =" 4.6.519" />
4+ </packages >
You can’t perform that action at this time.
0 commit comments