Merge "Use constraints for all the things"

This commit is contained in:
Jenkins 2016-08-05 17:59:51 +00:00 committed by Gerrit Code Review
commit e51f04a2c5
1 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@ envlist = py35,py34,pep8,py27
[testenv]
usedevelop = True
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
@ -12,6 +13,12 @@ commands =
coverage report -m --fail-under 90
[testenv:venv]
# NOTE(amrith) The setting of the install_command in this location
# is only required because currently infra does not actually
# support constraints files for the docs job, and while
# the environment variable UPPER_CONSTRAINTS_FILE is set, there's
# no file there. It can be removed when infra changes this.
install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
commands = {posargs}
[testenv:pep8]
@ -25,4 +32,4 @@ commands = python setup.py build_sphinx
[flake8]
max-complexity=15
show-source = True
show-source = True