Use upper-constraints for all tox targets

The issue has been resolved by infra [0], so we can use upper
constraints for all targets.

[0]
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: If075c2752fa77547e23e3dda4688386185f79dca
This commit is contained in:
Jim Rollenhagen 2016-08-19 08:50:20 -04:00
parent 705eed8d09
commit 8de195a3d5

18
tox.ini
View File

@ -29,23 +29,11 @@ commands =
doc8 doc/source README.rst
[testenv:cover]
# 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 cover 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 {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py test --coverage --coverage-package-name ironic_python_agent {posargs}
[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 {opts} {packages}
setenv = PYTHONHASHSEED=0
commands = {posargs:}
@ -61,12 +49,6 @@ commands =
python setup.py build_sphinx
[testenv:releasenotes]
# 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 releasenotes 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 {opts} {packages}
envdir = {toxworkdir}/venv
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html