diff options
Diffstat (limited to 'azure/tox.ini')
-rw-r--r-- | azure/tox.ini | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/azure/tox.ini b/azure/tox.ini new file mode 100644 index 0000000..d6559ab --- /dev/null +++ b/azure/tox.ini @@ -0,0 +1,28 @@ +[tox] +envlist = py27,pep8 +skipsdist = true + +[tox:jenkins] +downloadcache = ~/cache/pip + +[testenv] +deps = -r{toxinidir}/requirements.txt +commands = + /usr/bin/find . -type f -name "*.py[c|o]" -delete + python manage.py test azure + +[testenv:pep8] +deps=flake8 +commands=flake8 + +[testenv:py27] +commands = + {[testenv]commands} + +[testenv:cover] +setenv= + DJANGO_SETTINGS_MODULE = azure.settings-cover +commands = + coverage erase + {[testenv]commands} + coverage xml -i
\ No newline at end of file |