summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 4 insertions, 19 deletions
diff --git a/tox.ini b/tox.ini
index e9a4dae..ffdaee1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,13 @@
[tox]
-envlist = pypy,py27,py37,pep8
-minversion = 2.0
+envlist = pypy,py37,pep8
+ignore_basepython_conflict = true
+minversion = 3.1.0
skipsdist = True
[testenv]
+basepython = python3
setenv = VIRTUAL_ENV={envdir}
- CLIENT_NAME=python-heatclient
usedevelop = True
-install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
@@ -17,24 +17,13 @@ commands = find . -type f -name "*.py[c|o]" -delete
whitelist_externals = find
[testenv:debug]
-basepython = python3
-commands = oslo_debug_helper -t heatclient/tests {posargs}
-
-[testenv:debug-py27]
-basepython = python2.7
-commands = oslo_debug_helper -t heatclient/tests {posargs}
-
-[testenv:debug-py35]
-basepython = python3.5
commands = oslo_debug_helper -t heatclient/tests {posargs}
[testenv:pep8]
-basepython = python3
commands =
flake8
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:functional]
@@ -44,7 +33,6 @@ setenv =
passenv = OS_*
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source heatclient --parallel-mode
commands =
@@ -55,7 +43,6 @@ commands =
coverage report
[testenv:docs]
-basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
@@ -71,14 +58,12 @@ max-complexity=20
import_exceptions = heatclient._i18n
[testenv:releasenotes]
-basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
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