diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-08-13 16:21:21 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-08-14 13:50:40 +0200 |
commit | 080c2d97f51e95386bdb2c2edd9fb4c5b8f933ce (patch) | |
tree | 975d60876eecd238040a5f383c55135b4b17fe2d /tox.ini | |
parent | f399e489e2db052c235152ab9233dbdfa192985c (diff) |
Add nosetest and tox setup
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +[tox] +envlist = pep8, py27 + +[testenv] +install_command = pip install {opts} {packages} +deps = -r{toxinidir}/requirements.txt +sitepackages = True + +[testenv:pep8] +deps = hacking +commands = + flake8 {posargs} + +[testenv:py27] +setenv = + PYTHONHASHSEED = 0 +commands = + python setup.py nosetests --verbosity=3 |