Tweak pip and "upgrade strategy" for tox

This commit is contained in:
Lance Edgar 2018-06-14 20:24:14 -05:00
parent ea8e52377c
commit f92123c398

12
tox.ini
View file

@ -8,15 +8,15 @@ deps =
mock mock
nose nose
commands = commands =
pip install 'pip<10.0' pip install --upgrade pip
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
nosetests {posargs} nosetests {posargs}
[testenv:coverage] [testenv:coverage]
basepython = python basepython = python
commands = commands =
pip install 'pip<10.0' pip install --upgrade pip
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage} nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
[testenv:docs] [testenv:docs]
@ -26,6 +26,6 @@ deps =
sphinx-rtd-theme sphinx-rtd-theme
changedir = docs changedir = docs
commands = commands =
pip install 'pip<10.0' pip install --upgrade pip
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs