glean/tox.ini
Cao Xuan Hoang 6426ed8573 Remove support for py33/py26
Python 3.3/2.6 is not supported from Mitaka, as per Infra.
This patch removes the support and add py35 for the same.

Change-Id: I31153d37eea4fb920e8caa6612e8d3e72beb24e5
2017-02-07 08:11:32 +07:00

37 lines
816 B
INI

[tox]
minversion = 1.6
envlist = py35,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
OS_DEBUG=1
OS_LOG_CAPTURE=1
deps = -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]
# Hacking ignored becaues its rules are too zealous and cause more
# grief than value.
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,H
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build