Skip to content

Commit

Permalink
Switch to 'usedevelop = true' FBO nose / coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Feb 27, 2015
1 parent 01dd3df commit 375b95c
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions tox.ini
Expand Up @@ -2,7 +2,7 @@
envlist =
# pypy3 pending release of a fix for
# https://bitbucket.org/pypy/pypy/issue/1946
# py26,py27,py33,py34,pypy,pypy3
# py26,py27,py33,py34,pypy,pypy3,coverage,docs
py26,py27,py33,py34,pypy,coverage,docs

[testenv]
Expand All @@ -26,27 +26,11 @@ deps =
zope.testing
zope.testrunner

[testenv:coverage-ASIDE]
basepython =
python2.7
commands =
coverage erase
coverage run --source=src setup.py -q test -q
coverage report --show-missing
coverage xml
deps =
{[testenv]deps}
coverage

[testenv:coverage]
usedevelop = true
basepython =
python2.7
commands =
# The installed version messes up nose's test discovery / coverage reporting
# So, we uninstall that from the environment, and then install the editable
# version, before running nosetests.
pip uninstall -y zope.dublincore
pip install -e .
nosetests --with-xunit --with-xcoverage
deps =
{[testenv]deps}
Expand Down

0 comments on commit 375b95c

Please sign in to comment.