summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorzhaoxinyu <zhaoxinyu@huawei.com>2013-09-18 16:05:24 -0700
committerzhaoxinyu <zhaoxinyu@huawei.com>2013-09-18 16:41:37 -0700
commit363e564b37c2d32dfe2d92af8aa4fe8ba3fc61ba (patch)
treeaf5c7ab23327fb13f2b6eaf9fc6255a62db62a42 /tox.ini
parent5fea867c70849d7c5e6c52bde276d883c3f0dd67 (diff)
downloadzuul-363e564b37c2d32dfe2d92af8aa4fe8ba3fc61ba.tar.gz
remove --pre option from tox's pip install command
By default, tox passes --pre option to pip install commands so that prerelease packages, which perhaps are not suitable for test, would be installed, causing unforseeable errors. Like: http://logs.openstack.org/33/47233/1/check/gate-zuul-docs/7b794af/console.html whose installed Sphinx package is a beta version 2 causing the error in the log. fungi's proposal https://review.openstack.org/#/c/47239/1 also applies here. Change-Id: I9108b534bb469211434a4abf22b25c983aa444ba
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 8e0ede63d..06b37dfb7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,4 +1,5 @@
[tox]
+minversion = 1.6
envlist = pep8, pyflakes, py27
[testenv]
@@ -6,6 +7,7 @@ envlist = pep8, pyflakes, py27
setenv = STATSD_HOST=localhost
STATSD_PORT=8125
VIRTUAL_ENV={envdir}
+install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =