Remove the py27 tox target
With the move to zuulv3, the openstack-tox-py27 job definition ignores changes to docs and .rst files, which is basically all of nova-specs, so we aren't getting our spec linters run as part of the py27 target anymore. This moves them into the pep8 target where they should probably live as linter tests anyway. Change-Id: Ic87e79db6a8881398d670148b609e0b81658dfd1
This commit is contained in:
parent
44334e7114
commit
a225306042
7
tox.ini
7
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]
|
||||
|
|
Loading…
Reference in New Issue