Remove python 2.6 and cleanup tox.ini
* Remove support for python 2.6 * Remove skipsdist : Needs to be set only if sdist is expensive * Remove usedevelop : only needed when skipsdist is set to True * Remove install_command : We can just use the default, we don't need to override * Remove setenv : We can just use the default as we don't need any extra environment variables * Remove requirements.txt from deps, as this is already added automatically Change-Id: I5c4addd8be5797fec439b011d99c00a7801704cd
This commit is contained in:
parent
e01418018f
commit
e5baaf8a4c
14
tox.ini
14
tox.ini
@ -1,19 +1,9 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = py34,py26,py27,pep8
|
envlist = py34,py27,pep8
|
||||||
# NOTE(dhellmann): We cannot set skipdist=True
|
|
||||||
# for oslo libraries because of the namespace package.
|
|
||||||
#skipsdist = True
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# NOTE(dhellmann): We cannot set usedevelop=True
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
# for oslo libraries because of the namespace package.
|
|
||||||
#usedevelop = True
|
|
||||||
install_command = pip install -U {opts} {packages}
|
|
||||||
setenv =
|
|
||||||
VIRTUAL_ENV={envdir}
|
|
||||||
deps = -r{toxinidir}/requirements.txt
|
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
# We want to support both vanilla stdlib and eventlet monkey patched
|
# We want to support both vanilla stdlib and eventlet monkey patched
|
||||||
commands =
|
commands =
|
||||||
lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
|
lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
Loading…
Reference in New Issue
Block a user