Merge pull request #15 from jkoelker/quark_cover

Only run cover on quark
This commit is contained in:
Matt Dietz
2013-03-18 15:48:14 -07:00
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@@ -23,6 +23,7 @@ pip-log.txt
# Unit test / coverage reports
.coverage
.cover-report
.tox
nosetests.xml

View File

@@ -25,7 +25,12 @@ commands =
commands = python ./tools/check_i18n.py ./quantum ./tools/i18n_cfg.py
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_HTML=1
NOSE_COVER_HTML_DIR=.cover-report
NOSE_COVER_MIN_PERCENTAGE=70
commands = nosetests --cover-package=quark {posargs}
[testenv:venv]
commands = {posargs}