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:
parent
933a7e80dc
commit
a93bb48cf5
4
nodepool/tests/fixtures/node.yaml
vendored
4
nodepool/tests/fixtures/node.yaml
vendored
@ -9,8 +9,8 @@ cron:
|
|||||||
zmq-publishers:
|
zmq-publishers:
|
||||||
- tcp://localhost:8881
|
- tcp://localhost:8881
|
||||||
|
|
||||||
gearman-servers:
|
#gearman-servers:
|
||||||
- host: localhost
|
# - host: localhost
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- name: fake-label
|
- name: fake-label
|
||||||
|
4
nodepool/tests/fixtures/subnodes.yaml
vendored
4
nodepool/tests/fixtures/subnodes.yaml
vendored
@ -9,8 +9,8 @@ cron:
|
|||||||
zmq-publishers:
|
zmq-publishers:
|
||||||
- tcp://localhost:8881
|
- tcp://localhost:8881
|
||||||
|
|
||||||
gearman-servers:
|
#gearman-servers:
|
||||||
- host: localhost
|
# - host: localhost
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- name: fake-label
|
- name: fake-label
|
||||||
|
1
tox.ini
1
tox.ini
@ -6,6 +6,7 @@ envlist = pep8, py27
|
|||||||
setenv = STATSD_HOST=localhost
|
setenv = STATSD_HOST=localhost
|
||||||
STATSD_PORT=8125
|
STATSD_PORT=8125
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
|
install_command = pip install {opts} {packages}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user