diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..2f98f90f --- /dev/null +++ b/tox.ini @@ -0,0 +1,23 @@ +[tox] +envlist = pep8, py27 +skipsdist = True + +[testenv] +whitelist_externals = + find +install_command = pip install {opts} {packages} +deps = -r{toxinidir}/requirements.txt +sitepackages = True +commands = + find . -type f -name "*.pyc" -delete + +[testenv:pep8] +deps = hacking +commands = + find . -type f -name "*.pyc" -delete + flake8 {posargs} + +[testenv:py27] +commands = + find . -type f -name "*.pyc" -delete + python setup.py nosetests --verbosity=3 --with-xcoverage {posargs} |