Skip to content

Commit

Permalink
Merge "tox: Remove dead settings/targets"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Dec 10, 2018
2 parents d416d10 + 197a2de commit c746ee9
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

0 comments on commit c746ee9

Please sign in to comment.