
The Python 2.6 testing has been deprecated for some time, and is removed from gate https://review.openstack.org/#/c/201105/. This patch removes py26 from tox conf so that developers will not end up testing py26. Co-Authored-By: Sirushti Murugesan <sirushti.murugesan@hp.com> Change-Id: Id2698c892db07278f47dea54360e8a0c4dad6981 Closes-Bug: #1474686
23 lines
445 B
INI
23 lines
445 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
|
|
testr run {posargs}
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,*lib/python*,private
|