summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-12-19 11:11:49 +0100
committerAndreas Jaeger <aj@suse.com>2017-12-19 11:11:49 +0100
commit87ff8d96367cb50ce4b4b62323c37a4eee516074 (patch)
treed7bc85bcf8363792ac62e7fe695d95c2ed7a951f /tox.ini
parent5ca2a1953fe7c39d1a275eea7a8c9002dc4d45d6 (diff)
downloadoslo-middleware-87ff8d96367cb50ce4b4b62323c37a4eee516074.tar.gz
Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: I4f6d6420b62f5da9ca0973314ee0ba1cec9c4384
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 4 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 2e1e6ad..6f3dec8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,15 +5,13 @@ envlist = py35,py27,pypy,pep8
[testenv]
setenv =
VIRTUAL_ENV={envdir}
- BRANCH_NAME=master
- CLIENT_NAME=oslo.middleware
-install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
-deps = -r{toxinidir}/test-requirements.txt
+install_command = pip install {opts} {packages}
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
-deps =
- -r{toxinidir}/test-requirements.txt
commands =
flake8
# Run security linter