mirror of
https://github.com/certbot/certbot.git
synced 2026-01-23 07:20:55 +03:00
25 lines
643 B
INI
25 lines
643 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests in
|
|
# multiple virtualenvs. To use it, "pip install tox" and then run
|
|
# "tox" from this directory.
|
|
|
|
[tox]
|
|
envlist = py26,py27,cover,lint
|
|
|
|
[testenv]
|
|
commands =
|
|
pip install -e .[testing]
|
|
python setup.py test -q # -q does not suppress errors
|
|
|
|
[testenv:cover]
|
|
basepython = python2.7
|
|
commands =
|
|
pip install -e .[testing]
|
|
python setup.py nosetests --with-coverage --cover-min-percentage=66
|
|
|
|
[testenv:lint]
|
|
# recent versions of pylint do not support Python 2.6 (#97, #187)
|
|
basepython = python2.7
|
|
commands =
|
|
pip install -e .[dev]
|
|
pylint --rcfile=.pylintrc letsencrypt
|