28 lines
645 B
INI
28 lines
645 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py27,py33,py34,py35,pypy,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
# Customize pip command, add -U to force updates.
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
nosetests {posargs}
|
|
python -c 'import memcache; memcache._doctest()'
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
commands = nosetests --with-coverage {posargs}
|
|
|
|
[flake8]
|
|
exclude = .venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv,build
|
|
max-line-length = 119
|