summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 3 insertions, 12 deletions
diff --git a/tox.ini b/tox.ini
index 5cc32a9..7ae6f9e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,11 @@
[tox]
minversion = 3.1
-envlist = pep8,py{37,36,35,27},docs
+envlist = pep8,py27,py36,py37,docs
ignore_basepython_conflict = True
-skip_missing_interpreters = True
[testenv]
usedevelop = True
-install_command = pip install {opts} {packages}
+basepython = python3
passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS
setenv =
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
@@ -18,11 +17,9 @@ deps =
commands = stestr run --suppress-attachments {posargs}
[testenv:pep8]
-basepython = python3
commands = flake8 {posargs}
[testenv:docs]
-basepython = python3
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
@@ -32,21 +29,16 @@ commands =
sphinx-build -W -b html doc/source doc/build/html {posargs}
[testenv:releasenotes]
-basepython = python3
whitelist_externals = rm
-deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
- -r{toxinidir}/doc/requirements.txt
+deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build
sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source pbr --parallel-mode
commands =
@@ -64,7 +56,6 @@ exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt