summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-16 16:59:54 +0000
committerGerrit Code Review <review@openstack.org>2018-04-16 16:59:54 +0000
commit2b2514603f5cb721e922f639e73a5ed75bb0c12b (patch)
treee0a5d8d2fc7f6cccbe42c616b7773a17cab9414a
parentd2fcf86fa13f7d5bf73a1f78ac7ce6510d05d189 (diff)
parent3f7abe0bab804e7436c8c0e2b24759a49a5ea190 (diff)
downloadoslo-db-4.36.0.tar.gz
Merge "set default python to python3"4.36.0
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1e215ea..47f31f1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,7 @@ minversion = 2.0
envlist = py35,py27,pep8,pip-missing-reqs
[testenv]
+basepython = python3
install_command = pip install {opts} {packages}
whitelist_externals = bash
env
@@ -29,6 +30,7 @@ commands = pip install SQLAlchemy>=0.9.0,!=0.9.5,<1.0.0
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py27]
+basepython = python2.7
commands =
env TEST_EVENTLET=0 bash tools/pretty_tox.sh '{posargs}'
env TEST_EVENTLET=1 bash tools/pretty_tox.sh '{posargs}'
@@ -74,7 +76,6 @@ deps = pip_missing_reqs
commands = pip-missing-reqs -d --ignore-module=oslo_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt