summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-10-08 21:54:39 -0400
committerxudan <xudan16@huawei.com>2019-10-11 22:12:55 -0400
commit48d735cc1bec3b842d06a72992dc36c8799af381 (patch)
tree6b3fdcf69787407adcbc0bf95d80b8b7000e1348 /tox.ini
parent9b8d8fcc9f4f191374f730b13fcb0ce18905864c (diff)
Update all redirected links in Dovetail docs
The pod ld-build2 only has python 3.6 installed, so change the tox env to be 3.6 Other pods has python 3.5 to verify pep8, py35 ... Change-Id: I0289d7ce96ffa49dd08ce4b855fe071a5e608cbf Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index b8efce64..5c3e7db8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,6 @@ skipsdist = True
envlist =
pep8,
py35,
- docs,
docs-linkcheck
[testenv]
@@ -40,14 +39,17 @@ whitelist_externals = wget
echo
[testenv:pep8]
+basepython = python3.5
commands = flake8 {toxinidir}
[flake8]
+basepython = python3.5
show-source = True
ignore = E123,E125,H803,E722,W503
exclude = .tox,dist,docs,*egg,build,.venv,.git
[testenv:docs]
+basepython = python3.6
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -55,6 +57,7 @@ commands =
whitelist_externals = echo
[testenv:docs-linkcheck]
+basepython = python3.5
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck