summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-30 13:24:01 +0000
committerGerrit Code Review <review@openstack.org>2020-01-30 13:24:01 +0000
commit6889dec2aa1b4a6b0e6c33c9ed3f054260940a58 (patch)
treee0fea8d310f05660d3dacef108f38db31b48f499
parent6c8bcc94b760c5f72621f3a65356917f3973fb99 (diff)
parent70317a0109de134b950baef63179429ca10c8da1 (diff)
downloadoslo-i18n-6889dec2aa1b4a6b0e6c33c9ed3f054260940a58.tar.gz
Merge "tox: Trivial cleanup"
-rw-r--r--tox.ini14
1 files changed, 3 insertions, 11 deletions
diff --git a/tox.ini b/tox.ini
index dddf835..b9958ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,20 +1,17 @@
[tox]
-minversion = 2.0
+minversion = 3.1
envlist = py27,py37,pep8
+ignore_basepython_conflict = True
[testenv]
-install_command = pip install {opts} {packages}
+basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
-[testenv:py27]
-basepython = python2.7
-
[testenv:pep8]
-basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
commands =
@@ -23,11 +20,9 @@ commands =
bandit -r oslo_i18n -x tests -n5
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:docs]
-basepython = python3
whitelist_externals =
rm
deps =
@@ -38,7 +33,6 @@ commands =
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source oslo_i18n --parallel-mode
commands =
@@ -65,7 +59,6 @@ import_exceptions =
oslo_i18n._i18n._
[testenv:releasenotes]
-basepython = python3
whitelist_externals =
rm
deps =
@@ -76,7 +69,6 @@ commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt