Clearing out .pyc file before a tox run
Change-Id: I8d6ff9c2d29f0a3429d3e7bdffd4bd97f8024b3c
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -12,7 +12,11 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
|
whitelist_externals = find
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
|
find . -type f -name "*.pyc" -delete
|
||||||
python setup.py testr --testr-args='{posargs}'
|
python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
|
Reference in New Issue
Block a user