From c0fe170ca44e3e41b2b6ceb7c6085d3f87b325a8 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 2 Aug 2013 10:39:34 -0400 Subject: initial project setup Change-Id: I1bbe058cf162549a517814e02a3e8bed70b5dbf8 --- tox.ini | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..ab5e71b --- /dev/null +++ b/tox.ini @@ -0,0 +1,25 @@ +[tox] +distribute = False +envlist = py26,py27,py33,pep8 + +[testenv] +setenv = VIRTUAL_ENV={envdir} +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = python setup.py testr --slowest --testr-args='{posargs}' + +[testenv:pep8] +commands = flake8 + +[testenv:cover] +setenv = VIRTUAL_ENV={envdir} +commands = + python setup.py testr --coverage + +[testenv:venv] +commands = {posargs} + +[flake8] +show-source = True +exclude = .tox,dist,doc,*.egg,build +builtins = _ -- cgit v1.2.1