b2267cfe62
Change-Id: I8a5c7a14a791d62fc856526dbd5585430ec2d663
35 lines
725 B
INI
35 lines
725 B
INI
[tox]
|
|
envlist = py27
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[tox:jenkins]
|
|
sitepackages = True
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
# https://github.com/stackforge/fuel-ostf/archive/6.0.tar.gz#egg=fuel-ostf==6.0
|
|
commands =
|
|
python setup.py testr --slowest
|
|
whitelist_externals = bash
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = F821,H301,H306,H404
|
|
builtins = _
|
|
exclude=.venv,.tox,dist,doc,openstack,*egg,rsdns,tools,etc,build,*.po,*.pot
|
|
filename=*.py
|