mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 18:56:55 +02:00
Use tox for tests
This commit is contained in:
@@ -3,4 +3,5 @@
|
||||
build/
|
||||
dist/
|
||||
venv/
|
||||
.tox/
|
||||
m3
|
||||
|
||||
@@ -24,7 +24,7 @@ conf layout.
|
||||
|
||||
#. Bootstrap: `./venv/bin/python setup.py dev`
|
||||
|
||||
#. Test code base: `./venv/bin/nosetests`
|
||||
#. Test code base: `./venv/bin/tox`
|
||||
|
||||
#. Check coding style for the whole project `./venv/bin/pylint letsencrypt`,
|
||||
or specific module, e.g. `./venv/bin/pylint letsencrypt.client.acme`.
|
||||
|
||||
@@ -15,6 +15,7 @@ testing_extras = [
|
||||
'coverage',
|
||||
'nose',
|
||||
'pylint',
|
||||
'tox>=1.6',
|
||||
]
|
||||
|
||||
setup(
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||
# in multiple virtualenvs. This configuration file will run the
|
||||
# test suite on all supported python versions. To use it, "pip install tox"
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py26, py27
|
||||
|
||||
[testenv]
|
||||
# install_command requires tox>=1.6
|
||||
install_command = pip install --process-dependency-links {opts} {packages}
|
||||
commands = nosetests
|
||||
deps =
|
||||
nose
|
||||
Reference in New Issue
Block a user