Skip to content

Commit

Permalink
plugged coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Sep 13, 2013
1 parent 45a6dce commit 2118b8a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
omit = *_patch*,chaussette/tests/*
source = chaussette
include = chaussette/*

[html]
directory = html

12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
envlist = flake8,py26,py27,py33,docs

[testenv]
commands =
python setup.py develop
python setup.py test
commands = {envbindir}/python setup.py test

[testenv:py27]
deps = coverage

commands = coverage erase
{envbindir}/python setup.py develop
coverage run setup.py test
coverage html

[testenv:docs]
deps = Sphinx
Expand Down

0 comments on commit 2118b8a

Please sign in to comment.