diff --git a/tox.ini b/tox.ini index 46530ec89..3cea02b52 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ # Hold back to 1.4, since that's what's in Fedora 20 repos # and we don't need anything newer for nova-specs tests minversion = 1.4 -envlist = docs,py27,pep8 +envlist = docs,pep8 skipsdist = True [testenv] @@ -11,9 +11,6 @@ setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt whitelist_externals = find -commands = - find . -type f -name "*.pyc" -delete - python setup.py testr --slowest --testr-args='{posargs}' [testenv:venv] commands = {posargs} @@ -27,6 +24,8 @@ commands = [testenv:pep8] deps = -r{toxinidir}/test-requirements.txt commands = + find . -type f -name "*.pyc" -delete + python setup.py testr --slowest --testr-args='{posargs}' flake8 {posargs} [flake8]