Merge "remove stale pyc before tests"

This commit is contained in:
Jenkins
2015-04-02 15:31:02 +00:00
committed by Gerrit Code Review

View File

@@ -10,10 +10,15 @@ usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals = find
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
commands =
find . -type f -name "*.pyc" -delete
python setup.py build_sphinx