diff options
author | Zuul <zuul@review.openstack.org> | 2018-06-15 23:50:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-06-15 23:50:00 +0000 |
commit | c01fc8fc5cbb34424da49921d5ce5441c2859dd9 (patch) | |
tree | 6703754f7d4cf3dcc16af3dae7aa916f90781852 | |
parent | 1aca8a362a752352b74ba3fb828817b2ce95b7c5 (diff) | |
parent | f41f9f77c9d894b4aae2b9916b0812dcc19c21c5 (diff) | |
download | oslo-log-c01fc8fc5cbb34424da49921d5ce5441c2859dd9.tar.gz |
Merge "tox: Group targets and tool configuration together"
-rw-r--r-- | tox.ini | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -29,6 +29,10 @@ commands = {posargs} basepython = python3 commands = python setup.py build_sphinx +[testenv:releasenotes] +basepython = python3 +commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + [testenv:cover] basepython = python3 commands = @@ -39,6 +43,13 @@ commands = basepython = python3 commands = bandit -r oslo_log -x tests -n5 +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt + [flake8] # E123, E125 skipped as they are invalid PEP-8. @@ -48,14 +59,3 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py [hacking] import_exceptions = oslo_log._i18n - -[testenv:releasenotes] -basepython = python3 -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html - -[testenv:lower-constraints] -basepython = python3 -deps = - -c{toxinidir}/lower-constraints.txt - -r{toxinidir}/test-requirements.txt - -r{toxinidir}/requirements.txt |