Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a coverage requirement for Travis tests #8

Merged
merged 3 commits into from
Apr 22, 2013
Merged

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented Apr 22, 2013

  • Requires 100% code coverage in the unit tests with only some
    small exclusions
  • Splits the Travis test runs out to unit, functional, and coverage


if int(covered) < 100:
print("")
raise sys.exit("[FAILED] Coverage is less than 100%")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to raise here, sys.exit raises an exception.

dstufft added a commit that referenced this pull request Apr 22, 2013
Enable a coverage requirement for Travis tests
@dstufft dstufft merged commit 4b04bd5 into master Apr 22, 2013
@dstufft dstufft deleted the travis-coverage branch April 22, 2013 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants