mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Merge pull request #1002 from kuba/detect-downstream-deps
Detect downstream deps in tests
This commit is contained in:
commit
714d40ddab
1 changed files with 17 additions and 9 deletions
26
tox.ini
26
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue