certbot/tox.ini
2015-02-07 22:30:24 +00:00

24 lines
705 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 develop easy_install letsencrypt[testing]
python setup.py test -q # -q does not suppress errors
[testenv:cover]
basepython = python2.7
commands =
python setup.py develop easy_install letsencrypt[testing]
python setup.py nosetests --with-coverage --cover-min-percentage=71
[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