Merge pull request #1002 from kuba/detect-downstream-deps

Detect downstream deps in tests
This commit is contained in:
bmw
2015-10-17 08:30:21 -07:00
+17 -9
View File
@@ -8,15 +8,23 @@
skipsdist = true skipsdist = true
envlist = py27,cover,lint envlist = py27,cover,lint
# nosetest -v => more verbose output, allows to detect busy waiting
# loops, especially on Travis
[testenv] [testenv]
# packages installed separately to ensure that dowstream deps problems
# are detected, c.f. #1002
commands = commands =
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt pip install -e acme[testing]
# -q does not suppress errors nosetests -v acme
python setup.py test pip install -r requirements.txt -e .[testing]
python setup.py test -s acme nosetests -v letsencrypt
python setup.py test -s letsencrypt_apache pip install -e letsencrypt-apache
python setup.py test -s letsencrypt_nginx nosetests -v letsencrypt_apache
python setup.py test -s letshelp_letsencrypt pip install -e letsencrypt-nginx
nosetests -v letsencrypt_nginx
pip install -e letshelp-letsencrypt
nosetests -v letshelp_letsencrypt
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
@@ -26,12 +34,12 @@ setenv =
[testenv:py33] [testenv:py33]
commands = commands =
pip install -e acme[testing] pip install -e acme[testing]
nosetests acme nosetests -v acme
[testenv:py34] [testenv:py34]
commands = commands =
pip install -e acme[testing] pip install -e acme[testing]
nosetests acme nosetests -v acme
[testenv:cover] [testenv:cover]
basepython = python2.7 basepython = python2.7