Always use upper-constraints

This patch modifies tox.ini to always use upper-constraints.

Change-Id: I24273d7789842f4c78ddc3c5f2a4bdaf72050b41
This commit is contained in:
Sridhar Ramaswamy 2016-08-01 20:39:42 +00:00
parent 5c0a33736b
commit 2dcb15b169
1 changed files with 6 additions and 6 deletions

12
tox.ini
View File

@ -1,20 +1,16 @@
[tox]
# TODO(yamahata): enable tests of py34.
# Those unit tests are temporalily disabled until its stabilization
#envlist = py27,py34,pep8
envlist = docs,pep8,py27
minversion = 1.6
skipsdist = True
# TODO(yamahata): re-enable unit tests again
# disable unit tests for now until stabilization
[testenv:py34]
commands = bash -c "echo do nothing for py34 for now. enable after stablized"
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
install_command =
pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setuptools-git>=0.4
@ -65,6 +61,8 @@ commands =
python setup.py build_sphinx
[testenv:releasenotes]
# Note: remove once infra supports constraints for this target
install_command = pip install -U --force-reinstall {opts} {packages}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@ -83,6 +81,8 @@ commands =
coverage html --include='tacker/*' -d covhtml -i
[testenv:venv]
# Note: remove once infra supports constraints for this target
install_command = pip install -U --force-reinstall {opts} {packages}
commands = {posargs}
[flake8]