blob: 549457a524d5cc9c0007d3014f10332f98070a36 [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
2envlist = py27,py35,pep8
3minversion = 0.1
4skipsdist = True
5
6[testenv]
7userdevelop = True
8setenv = VIRTUAL_ENV={envdir}
9deps = -r{toxinidir}/requirements.txt
10 -r{toxinidir}/test-requirements.txt
11commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
12 testr run {posargs}
13
14[testenv:pep8]
Doug Hellmann96ed5f82018-09-26 18:52:19 -040015basepython = python3
ricolin9b02d1e2017-12-29 15:35:49 +080016setenv =
17 PYTHONPATH = .
18commands =
19 flake8
20 check-uuid --package heat_tempest_plugin
21
22[testenv:uuidgen]
23setenv =
24 PYTHONPATH = .
25commands =
26 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053027
28[testenv:docs]
Doug Hellmann96ed5f82018-09-26 18:52:19 -040029basepython = python3
rabid2916d02017-09-22 18:19:24 +053030deps = -r{toxinidir}/requirements.txt
31 -r{toxinidir}/test-requirements.txt
32 sphinxcontrib-httpdomain
33commands = python setup.py build_sphinx
34
35[testenv:venv]
Doug Hellmann96ed5f82018-09-26 18:52:19 -040036basepython = python3
rabid2916d02017-09-22 18:19:24 +053037commands = {posargs}
38
39[flake8]
40show-source = True
41builtins = _
42exclude=.venv,.git,.tox,*lib/python*,private,.eggs