de0d27144e
- Removes py26,py32,py33 due EOL - Added missing py36,py36,py37 Change-Id: I365c11decab680d3c7d3bfdd1b7328cb7efb3a1a
34 lines
743 B
INI
34 lines
743 B
INI
[tox]
|
|
envlist = pep8,docs,py27,py37,py36,py35,py34
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
|
|
commands =
|
|
python -m git_review.tests.check_test_id_hashes discover --list
|
|
python -m git_review.tests.prepare
|
|
python setup.py testr --slowest --testr-args='--concurrency=2 {posargs}'
|
|
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:sdist]
|
|
commands = python setup.py sdist {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = E125,H202,H405,H904
|
|
show-source = True
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|