Merge "Run flake8 tests automatically on ./run_tests.sh"
This commit is contained in:
commit
0a8c85221e
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