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
commit 714d40ddab

26
tox.ini
View file

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