diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-03-10 17:18:15 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-03-10 18:02:43 -0400 |
commit | aa4641f0e6e668d4eb3a0c1f70a3e15e83097c6a (patch) | |
tree | 250c54a4235c5f0cce117ecdf67f59ac8d4e1841 /tox.ini | |
parent | 43e71193fbc5f08a35ab3eaefa0d16b7f91a77e7 (diff) | |
download | pbr-aa4641f0e6e668d4eb3a0c1f70a3e15e83097c6a.tar.gz |
Split out oslo.packaging.
Include logic taken from d2to1 to allow us to inject into setup.py. Combined
with ols openstack/common/setup.py code.
Change-Id: I27b341403bb8245e38f8e3c386f1a835b90b1843
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,33 @@ +[tox] +envlist = py26,py27,pep8 + +[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 --slowest --testr-args='{posargs}' + +[tox:jenkins] +sitepackages = True +downloadcache = ~/cache/pip + +[testenv:pep8] +commands = + pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc . + +[testenv:pyflakes] +deps = pyflakes +commands = pyflakes oslo + +[testenv:cover] +setenv = VIRTUAL_ENV={envdir} +commands = + python setup.py testr --coverage \ + --testr-args='^(?!.*test.*coverage).*$' + +[testenv:venv] +commands = {posargs} |