Update tox.ini for new tox 1.6 config
Change-Id: I4363508f562f62b16c856bc072cdb4b37e37b418
This commit is contained in:
parent
1c495a573c
commit
c8723ce175
6
tox.ini
6
tox.ini
@ -1,7 +1,11 @@
|
|||||||
[tox]
|
[tox]
|
||||||
|
minversion = 1.6
|
||||||
envlist = py26,py27,py33,pep8
|
envlist = py26,py27,py33,pep8
|
||||||
|
skipdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
usedevelop = True
|
||||||
|
install_command = pip install -U {opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
LANG=en_US.UTF-8
|
LANG=en_US.UTF-8
|
||||||
LANGUAGE=en_US:en
|
LANGUAGE=en_US:en
|
||||||
@ -17,7 +21,7 @@ commands = flake8
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
Loading…
Reference in New Issue
Block a user