From c0f1ff034eb325ff5ee5206ff7e6a9edfaee88bb Mon Sep 17 00:00:00 2001 From: Alejandro Cabrera Date: Fri, 13 Dec 2013 11:18:57 -0500 Subject: [PATCH] feat: tox support tox makes it easy to verify whether tests pass across a variety of different python versions. This patch adds that support. --- tox.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..15a7f72 --- /dev/null +++ b/tox.ini @@ -0,0 +1,13 @@ +[tox] +envlist = py26, py27 + +[testenv] +deps = -r{toxinidir}/requirements.txt +commands = nosetests -s --verbosity=2 --with-coverage --cover-erase --cover-inclusive tests/unit --cover-package=httpretty + +[testenv:functional] +commands = nosetests -s --verbosity=2 --with-coverage --cover-erase --cover-inclusive tests/functional --cover-package=httpretty + +[testenv:pep8] +deps = flake8 +commands = flake8 httpretty tests