certbot/tox.ini
2015-01-28 12:56:12 +00:00

24 lines
629 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 =
python setup.py dev
python setup.py test -q # -q does not suppress errors
[testenv:cover]
basepython = python2.7
commands =
python setup.py dev
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 =
python setup.py dev
pylint --rcfile=.pylintrc letsencrypt