summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 14 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index b3173d6..7330024 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,17 @@
[tox]
minversion = 3.18.0
-envlist = pep8,py27,py37,docs
-ignore_basepython_conflict = True
+envlist = pep8,py3,docs
[testenv]
-usedevelop = True
-basepython = python3
-passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS
+usedevelop = true
+passenv =
+ PBR_INTEGRATION
+ PIPFLAGS
+ PIPVERSION
+ PBRVERSION
+ REPODIR
+ WHEELHOUSE
+ PROJECTS
# TODO(fungi): drop distutils override once logging improves in Setuptools
# https://github.com/pypa/setuptools/issues/3038
setenv =
@@ -24,7 +29,8 @@ commands = stestr run --suppress-attachments {posargs}
commands = pre-commit run -a
[testenv:docs]
-allowlist_externals = rm
+allowlist_externals =
+ rm
deps =
-r{toxinidir}/doc/requirements.txt
commands =
@@ -33,7 +39,8 @@ commands =
sphinx-build -W -b html doc/source doc/build/html {posargs}
[testenv:releasenotes]
-allowlist_externals = rm
+allowlist_externals =
+ rm
deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build