Run flake8 tests automatically on ./run_tests.sh
And add a -P option to disable it. Change-Id: Ie0039217c82acbd9c9071da27027f57263b39f25 Closes-bug: #1237202
This commit is contained in:
parent
5eaa0d1e12
commit
287e03ab58
6
tox.ini
6
tox.ini
|
@ -10,7 +10,7 @@ setenv = VIRTUAL_ENV={envdir}
|
||||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = /bin/bash run_tests.sh -N
|
commands = /bin/bash run_tests.sh -N --no-pep8
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = /bin/bash run_tests.sh -N --pep8
|
commands = /bin/bash run_tests.sh -N --pep8
|
||||||
|
@ -19,12 +19,12 @@ commands = /bin/bash run_tests.sh -N --pep8
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = /bin/bash run_tests.sh -N --coverage
|
commands = /bin/bash run_tests.sh -N --no-pep8 --coverage
|
||||||
|
|
||||||
[testenv:py27dj14]
|
[testenv:py27dj14]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands = pip install django==1.4
|
commands = pip install django==1.4
|
||||||
/bin/bash run_tests.sh -N
|
/bin/bash run_tests.sh -N --no-pep8
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
Loading…
Reference in New Issue