summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7847e38..a21ea99 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,11 @@ setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-commands = python setup.py testr --testr-args="{posargs}"
+commands = sh -c 'find . -not \( -type d -name .?\* -prune \) \
+ \( -type d -name "__pycache__" -or -type f -name "*.py[co]" \) \
+ -print0 | xargs -0 rm -rf'
+ python setup.py testr --testr-args="{posargs}"
+whitelist_externals = sh
passenv = SWIFT_* *_proxy
[testenv:pep8]