Merge "tox: Remove dead settings/targets"

This commit is contained in:
Zuul 2018-12-10 14:07:49 +00:00 committed by Gerrit Code Review
commit c746ee9bc3
1 changed files with 6 additions and 13 deletions

19
tox.ini
View File

@ -1,30 +1,23 @@
[tox]
envlist = pep8,docs,py27,py37,py36,py35,py34
envlist = pep8,docs,py27,py3{4,5,6,7}
[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
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:sdist]
commands = python setup.py sdist {posargs}
[testenv:docs]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
@ -34,4 +27,4 @@ commands = {posargs}
[flake8]
ignore = E125,H202,H405,H904
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
exclude = .venv,.git,.tox,dist,doc,releasenotes,*lib/python*,*egg,build