Fixes for 'tox -e docs' in some dev environments
* set basepython to python2 in docs env (Solar won't install if default Python is 3.x); * bump minimal tox version to 2.0 as that's the version where they fixed substitutions in commands vars. Change-Id: Iaba4b1ee2de626e0a09c19f57c2f0156192c48dc
This commit is contained in:
parent
706f8b2862
commit
8cd43a84b3
3
tox.ini
3
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 2.0
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = pep8,py27
|
envlist = pep8,py27
|
||||||
|
|
||||||
@ -33,6 +33,7 @@ commands =
|
|||||||
openstack-doc-test --check-syntax
|
openstack-doc-test --check-syntax
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython=python2
|
||||||
deps = sphinx
|
deps = sphinx
|
||||||
{[testenv:checkniceness]deps}
|
{[testenv:checkniceness]deps}
|
||||||
whitelist_externals = /bin/rm
|
whitelist_externals = /bin/rm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user