parallelize tox-runs somewhat

This commit is contained in:
holger krekel
2019-09-19 12:11:45 +02:00
parent 977e3e08d7
commit 4ef3a091fe
2 changed files with 9 additions and 8 deletions

View File

@@ -42,14 +42,15 @@ if [ -n "$TESTS" ]; then
tox --workdir "$TOXWORKDIR" -e py37 tox --workdir "$TOXWORKDIR" -e py37
unset DCC_PY_LIVECONFIG unset DCC_PY_LIVECONFIG
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,auditwheels tox --workdir "$TOXWORKDIR" -p4 -e lint,py35,py36,doc
tox --workdir "$TOXWORKDIR" -e auditwheels
popd popd
fi fi
if [ -n "$DOCS" ]; then # if [ -n "$DOCS" ]; then
echo ----------------------- # echo -----------------------
echo generating python docs # echo generating python docs
echo ----------------------- # echo -----------------------
(cd python && tox --workdir "$TOXWORKDIR" -e doc) # (cd python && tox --workdir "$TOXWORKDIR" -e doc)
fi # fi

View File

@@ -45,7 +45,7 @@ commands =
[testenv:doc] [testenv:doc]
basepython = python3.5 basepython = python3.5
deps = deps =
sphinx==2.0.1 sphinx==2.2.0
breathe breathe
changedir = doc changedir = doc