Trove's tox tests should respect upper-constraints

This was missed by Ie1133e4c020106e8098685ba9125f84b356d8e0c
and breaks 'checkbuild' (runs when API goldfiles change).

Change-Id: I26fd96c0a6906ab03dec7516e71e1c8e70abaa4a
Closes-Bug: #1563038
This commit is contained in:
Petr Malik 2016-05-12 12:19:59 -04:00
parent 40d72aea7d
commit 2db8983c74
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ filename=*.py,trove-*
commands = openstack-doc-test --check-links {posargs}
[testenv:checkbuild]
# NOTE(pmalik) The setting of the install_command in this location
# is only required because currently infra does not actually
# support constraints files for the publishdocs 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}
commands =
openstack-doc-test --check-niceness --check-syntax --check-deletions {posargs}
openstack-doc-test --check-build {posargs}