Fix tox's insane pip install command.

Override tox's pip install command so that prereleases (alphas, betas,
broken things) aren't installed by default. Instead only install release
versions unless a prerelease version is specifically provided. Do this
by overriding the tox install command value.

This fixes doc builds that use `tox -evenv python setup.py
build_sphinx`.

Also, remove the gearman servers from the test configuration (since there
is not yet any support for it).

Change-Id: I31913420adcb48866d3996f2dd3b605c55acce2e
This commit is contained in:
Clark Boylan 2014-03-31 20:22:17 -07:00 committed by James E. Blair
parent 933a7e80dc
commit a93bb48cf5
3 changed files with 5 additions and 4 deletions

View File

@ -9,8 +9,8 @@ cron:
zmq-publishers:
- tcp://localhost:8881
gearman-servers:
- host: localhost
#gearman-servers:
# - host: localhost
labels:
- name: fake-label

View File

@ -9,8 +9,8 @@ cron:
zmq-publishers:
- tcp://localhost:8881
gearman-servers:
- host: localhost
#gearman-servers:
# - host: localhost
labels:
- name: fake-label

View File

@ -6,6 +6,7 @@ envlist = pep8, 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 =