Skip to content

Commit

Permalink
usedevelop is better than a custom install command.
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jamadden committed Jul 22, 2017
1 parent 92700bb commit 895891b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tox.ini
Expand Up @@ -2,6 +2,7 @@
envlist = py27,py34,py35,py36,pypy,pypy3

[testenv]
usedevelop = true
commands =
zope-testrunner --test-path=src []
deps =
Expand All @@ -11,10 +12,6 @@ deps =
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report -m
# The combo of skip_install and install_command lets
# us test the source, meaning coverage reports come out
# correct
skip_install = true
install_command = pip install -e {[testenv]deps} {packages}
deps =
{[testenv]deps}
coverage

0 comments on commit 895891b

Please sign in to comment.