Skip to content

Commit

Permalink
Updated code coverage calculations for AppVeyor build
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelTroka committed Feb 16, 2017
1 parent 14a4c6a commit 45f2f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions TODO
Expand Up @@ -7,8 +7,7 @@


##Code quality
* Setup codecov.io code coverage analysis
* Setup quantifiedcode.com issues analysis
* Setup sonarqube github integration with GitHub Authentication Plugin
* Core should not reference Charting
* Set up artifacts in Travis to have assemblies for manual testing
* Use Paket instead of Nuget? This might allow simpler builds targeting NET40 without additional projects and solutions
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -34,7 +34,7 @@ build_script:
after_test:
- nuget install NUnit.Console -Version 3.6.0 -OutputDirectory testrunner
- nuget install OpenCover -Version 4.6.519 -OutputDirectory codecoveragetools
- .\codecoveragetools\OpenCover.4.6.519\OpenCover.Console.exe -register:user -target:"./testrunner/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe" -targetargs:"/noresults /noisolation /testcontainer:"".\**\*Test*.dll" -filter:"+[Computator.NET]* -[Computator.NET]Computator.NET.Properties.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\Computator.NET_coverage.xml
- .\codecoveragetools\OpenCover.4.6.519\OpenCover.Console.exe -register:user -target:"testrunner\NUnit.ConsoleRunner.3.6.0\tools\nunit3-console.exe" -targetargs:"/noresults /noisolation /testcontainer:""Computator.NET.Tests\bin\%CONFIGURATION%\Computator.NET.Tests.dll Computator.NET.IntegrationTests\bin\%CONFIGURATION%\Computator.NET.IntegrationTests.dll" -filter:"+[Computator.NET]* -[Computator.NET]Computator.NET.Properties.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\Computator.NET_coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "Computator.NET_coverage.xml"
Expand Down

0 comments on commit 45f2f48

Please sign in to comment.