diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +[tox] +envlist = py27,pep8,cov +skipsdist = true + +[tox:jenkins] +downloadcache = ~/cache/pip + +[flake8] +ignore = E501,E722 +exclude = ./venv-tox,./.tox + +[testenv] +deps = -r{toxinidir}/requirements.txt +commands = coverage run --branch manage.py test catalog + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands} + +[testenv:cov] +commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" |