Allow skiping tox

This commit is contained in:
Petr Šplíchal 2018-07-20 15:17:24 +02:00
commit 413ee19869

View file

@ -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