Skip to content

Commit

Permalink
Found a different way to run full self coverage now that the stub scr…
Browse files Browse the repository at this point in the history
…ipt is written in bash instead of python.
  • Loading branch information
CleanCut committed May 21, 2014
1 parent 45ed0d5 commit 4dd2858
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ install:
- "pip install coveralls"
script:
- "./g -vvv"
- "coverage run --source green --omit '*/test*,*examples*' g"
- "coverage run --source green --omit '*/test*,*examples*' -m green.cmdline"
after_success: coveralls
4 changes: 4 additions & 0 deletions green/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,7 @@ def main():
cov.report(file=stream, omit=omit)
return(int(not result.wasSuccessful()))



if __name__ == '__main__': # pragma: no cover
main()

0 comments on commit 4dd2858

Please sign in to comment.