From 413ee198691f12fdf29c0fe4f27577bdaca0cd40 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Jul 20 2018 13:17:24 +0000 Subject: Allow skiping tox --- diff --git a/smoke/venv.sh b/smoke/venv.sh index f407a87..9d211db 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -4,6 +4,7 @@ VERSION=${VERSION:-3.7} PYTHON=python$VERSION METHOD=${METHOD:-venv} +TOX=${TOX:-true} # clean from possible older runs rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || : @@ -68,6 +69,7 @@ deactivate set -u # use it with tox +[[ "$TOX" != "true" ]] && exit 0 cat > tox.ini << EOF [tox] skipsdist = True