automaton/tox.ini
Joshua Harlow d71b6cf8b4 Revamp repo to match openstack repos
Get the repo in a working state so that it works
with the new and improved openstack CI system.

Change-Id: I80661c35fa7109a7ee9b1d00f89ca521a469eed0
2015-06-05 17:18:17 -07:00

32 lines
686 B
INI

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