Files
python-congressclient/tox.ini
Anusha Ramineni f3e9d77cbf Update tox.ini and fix py34 issue
This commit updates tox.ini to support py27 and py34 versions
which are gate tested and also fixes the issue of
'db type could not determined' thrown while running tox.

Change-Id: I77cb87c6f7ba6eaa609e40e83eb9bdab3b8b0283
2015-09-18 16:43:41 +05:30

31 lines
658 B
INI

[tox]
minversion = 1.6
envlist = py34,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
show-source = True
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build