tox: Remove ineffective ignore_basepython_conflict and bump minimum version
Change-Id: Ib989f50bc553257448f6cf9108082856cff6c846 Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
9
tox.ini
9
tox.ini
@@ -1,12 +1,9 @@
|
||||
[tox]
|
||||
minversion = 4.0
|
||||
minversion = 4.6.0
|
||||
skipsdist = True
|
||||
envlist = docs,releasenotes,molecule
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
usedevelop = False
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
@@ -30,7 +27,6 @@ setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
WORKING_DIR={toxinidir}
|
||||
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
@@ -40,18 +36,15 @@ commands=
|
||||
doc8 doc
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
extensions = .rst
|
||||
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
|
||||
[testenv:venv]
|
||||
commands =
|
||||
{posargs}
|
||||
|
Reference in New Issue
Block a user