Skip to content

Commit

Permalink
Configure codecov.io code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed Oct 3, 2015
1 parent 3557f60 commit 1e2b260
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Managed.Adb.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="morelinq" version="1.1.1" targetFramework="net35" />
<package id="OpenCover" version="4.6.210-rc" targetFramework="net4" />
</packages>
6 changes: 6 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ test:
except:
- IntegrationTest

test_script:
- .\packages\OpenCover.4.6.210-rc\tools\OpenCover.Console.exe -register:user -target:"c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" -targetargs:".\Managed.Adb.Tests\bin\Debug\Managed.Adb.Tests.dll /logger:Appveyor /testcasefilter:TestCategory!=IntegrationTest" -filter:"+[Managed.Adb]* -[Managed.Adb]Managed.Adb.Properties.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\Managed.Adb.coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "Managed.Adb.Coverage.xml"

nuget:
project_feed: true
account_feed: true
Expand Down

0 comments on commit 1e2b260

Please sign in to comment.