32 lines
568 B
INI
Raw Normal View History

2012-05-16 17:30:46 -04:00
[tox]
envlist = py26,py27,py33,pep8
2012-05-16 17:30:46 -04:00
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args="{posargs}"
2012-05-16 17:30:46 -04:00
[testenv:pep8]
commands =
flake8
flake8 bin/swift
2012-05-16 17:30:46 -04:00
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage
2012-05-16 17:30:46 -04:00
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
ignore = H
show-source = True
exclude = .venv,.tox,dist,doc,test,*egg