rabi | d2916d0 | 2017-09-22 18:19:24 +0530 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py27,py35,pep8 |
| 3 | minversion = 0.1 |
| 4 | skipsdist = True |
| 5 | |
| 6 | [testenv] |
| 7 | userdevelop = True |
| 8 | setenv = VIRTUAL_ENV={envdir} |
| 9 | deps = -r{toxinidir}/requirements.txt |
| 10 | -r{toxinidir}/test-requirements.txt |
| 11 | commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' |
| 12 | testr run {posargs} |
| 13 | |
| 14 | [testenv:pep8] |
ricolin | 9b02d1e | 2017-12-29 15:35:49 +0800 | [diff] [blame^] | 15 | setenv = |
| 16 | PYTHONPATH = . |
| 17 | commands = |
| 18 | flake8 |
| 19 | check-uuid --package heat_tempest_plugin |
| 20 | |
| 21 | [testenv:uuidgen] |
| 22 | setenv = |
| 23 | PYTHONPATH = . |
| 24 | commands = |
| 25 | check-uuid --fix --package heat_tempest_plugin |
rabi | d2916d0 | 2017-09-22 18:19:24 +0530 | [diff] [blame] | 26 | |
| 27 | [testenv:docs] |
| 28 | deps = -r{toxinidir}/requirements.txt |
| 29 | -r{toxinidir}/test-requirements.txt |
| 30 | sphinxcontrib-httpdomain |
| 31 | commands = python setup.py build_sphinx |
| 32 | |
| 33 | [testenv:venv] |
| 34 | commands = {posargs} |
| 35 | |
| 36 | [flake8] |
| 37 | show-source = True |
| 38 | builtins = _ |
| 39 | exclude=.venv,.git,.tox,*lib/python*,private,.eggs |