summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-08-10 13:22:48 +0200
committerAndreas Jaeger <aj@suse.com>2016-08-10 13:22:48 +0200
commit521b6e7dffa225957249a01f45d15c5d52658f3d (patch)
treeb27bd7b816ae7bed4da52f72d3e40cffaa52db3d /tox.ini
parenta3262591701d8be1b6a3704f2b919e874af208d7 (diff)
downloadglance_store-521b6e7dffa225957249a01f45d15c5d52658f3d.tar.gz
Use constraints for all tox environments
Infra is now ready to use constraints everywhere, adapt the environments to use the default install command instead of a specific non-constrainted install command. With this change, now all tox environments use constraints. Change-Id: Ia5b7e42108395c593e900accadc447932c51f314
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 0 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index 316bf89..1cb46e5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,9 +17,6 @@ commands = ostestr --slowest {posargs}
commands = python setup.py build_sphinx
[testenv:releasenotes]
-# NOTE(nikhil): this target does not use constraints because upstream infra
-# does not yet support it. Once that's fixed, we can drop the install_command.
-install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages}
commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]
@@ -42,16 +39,10 @@ commands =
commands = bandit -r glance_store -x tests --skip B101,B110,B303
[testenv:cover]
-# NOTE(nikhil): this target does not use constraints because upstream infra
-# does not yet support it. Once that's fixed, we can drop the install_command.
-install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$'
[testenv:venv]
-# NOTE(nikhil): this target does not use constraints because upstream infra
-# does not yet support it. Once that's fixed, we can drop the install_command.
-install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages}
commands = {posargs}
[testenv:functional-swift]