Upload coverage reports to coveralls.io #54

Merged
merged 3 commits into from Mar 17, 2014

Projects

None yet

2 participants

@limhoff-r7
Contributor

Much like free-CI from travis-ci, we can get free coverage monitoring from coveralls.io.

limhoff-r7 added some commits Feb 23, 2014
@limhoff-r7 limhoff-r7 Add coveralls e5615a9
@limhoff-r7 limhoff-r7 Support coveralls and local report when not on travis-ci 5a1f8ee
@limhoff-r7
Contributor

Verification Steps

Reports are uploaded to coveralls.io from travis-ci

Local reports from rake spec

  • rm -rf coverage
  • rake spec
  • VERIFY coverage/index.html is created
  • open coverage/index.html
  • VERIFY it is a SimpleCov HTML report

Local reports from Rubymine

  • rm -rf coverage
  • Run rake spec in Rubymine
  • VERIFY no coverage directory is created.
  • Run with Coverage rake spec in Rubymine.
  • VERIFY coverage directory is created.
  • VERIFY coverage/index.html is NOT created.
  • Click Tools in window menu.
  • Select Generate Coverage Report.
  • Check Open generated HTML in browser.
  • VERIFY it is a SimpleCov HTML report.

Jenkins

  • Have Jenkins build PR.
  • VERIFY Jenkins coverage monitoring still works.
@limhoff-r7
Contributor

Post-merge

Badge

  • Update coveralls badge in README to use correct branch: change [![Coverage Status](https://coveralls.io/repos/rapid7/metasploit_data_models/badge.png?branch=feature%2Fcoveralls)](https://coveralls.io/r/rapid7/metasploit_data_models?branch=feature%2Fcoveralls) to [![Coverage Status](https://coveralls.io/repos/rapid7/metasploit_data_models/badge.png)](https://coveralls.io/r/rapid7/metasploit_data_models)
  • Commit change.
  • Push change.
@limhoff-r7 limhoff-r7 Merge branch 'master' into feature/coveralls
Conflicts:
	README.md
a62e803
@mbuck-r7
Contributor

Jenkins test this please

@mbuck-r7 mbuck-r7 merged commit 202ebcf into master Mar 17, 2014

1 check passed

default The Travis CI build passed
Details
@mbuck-r7 mbuck-r7 deleted the feature/coveralls branch Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment