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: I988d5887b28a261382dbc67e12ffdc5d06200c46
This commit is contained in:
parent
147dd42d09
commit
9f4d478bd7
12
tox.ini
12
tox.ini
@ -22,21 +22,9 @@ commands =
|
||||
doc8 README.rst CONTRIBUTING.rst HACKING.rst doc/source
|
||||
|
||||
[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}
|
||||
commands = {posargs}
|
||||
|
||||
[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}
|
||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
|
Loading…
x
Reference in New Issue
Block a user