tox: pip install -e (fixes #235)

This commit is contained in:
Jakub Warmuz
2015-02-08 11:54:25 +00:00
parent 9d44b10aff
commit b1552052bb
+3 -6
View File
@@ -7,21 +7,18 @@ envlist = py26,py27,cover,lint
[testenv] [testenv]
commands = commands =
python setup.py develop easy_install letsencrypt[testing] pip install -e .[testing]
python setup.py test -q # -q does not suppress errors python setup.py test -q # -q does not suppress errors
# quickfix for #235
deps = pip<6.0.7
[testenv:cover] [testenv:cover]
basepython = python2.7 basepython = python2.7
commands = commands =
python setup.py develop easy_install letsencrypt[testing] pip install -e .[testing]
python setup.py nosetests --with-coverage --cover-min-percentage=66 python setup.py nosetests --with-coverage --cover-min-percentage=66
[testenv:lint] [testenv:lint]
# recent versions of pylint do not support Python 2.6 (#97, #187) # recent versions of pylint do not support Python 2.6 (#97, #187)
basepython = python2.7 basepython = python2.7
commands = commands =
python setup.py dev pip install -e .[dev]
pylint --rcfile=.pylintrc letsencrypt pylint --rcfile=.pylintrc letsencrypt