Allow skiping tox
This commit is contained in:
parent
aa5f2fee63
commit
413ee19869
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
VERSION=${VERSION:-3.7}
|
VERSION=${VERSION:-3.7}
|
||||||
PYTHON=python$VERSION
|
PYTHON=python$VERSION
|
||||||
METHOD=${METHOD:-venv}
|
METHOD=${METHOD:-venv}
|
||||||
|
TOX=${TOX:-true}
|
||||||
|
|
||||||
# clean from possible older runs
|
# clean from possible older runs
|
||||||
rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || :
|
rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || :
|
||||||
|
|
@ -68,6 +69,7 @@ deactivate
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
# use it with tox
|
# use it with tox
|
||||||
|
[[ "$TOX" != "true" ]] && exit 0
|
||||||
cat > tox.ini << EOF
|
cat > tox.ini << EOF
|
||||||
[tox]
|
[tox]
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue