diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-06-25 22:07:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-06-25 22:07:40 +0000 |
| commit | e3ed98d7afea507a43fcb3450c4d0d9ebd83d84b (patch) | |
| tree | 58e55b8c35a6db4be9ef8a8b48d1532b6251e602 | |
| parent | 01cec1dcb1a0b8d6a0ba098f8e18ab3c0f7cabab (diff) | |
| parent | dd224027baeeb1949572eab3a9ee651ccc709b49 (diff) | |
| download | oslo-e3ed98d7afea507a43fcb3450c4d0d9ebd83d84b.tar.gz oslo-e3ed98d7afea507a43fcb3450c4d0d9ebd83d84b.tar.xz oslo-e3ed98d7afea507a43fcb3450c4d0d9ebd83d84b.zip | |
Merge "Update tox.ini."
| -rw-r--r-- | tox.ini | 38 |
1 files changed, 12 insertions, 26 deletions
@@ -3,36 +3,22 @@ envlist = py26,py27,pep8 [testenv] setenv = VIRTUAL_ENV={envdir} + NOSE_WITH_OPENSTACK=1 + NOSE_OPENSTACK_COLOR=1 + NOSE_OPENSTACK_RED=0.05 + NOSE_OPENSTACK_YELLOW=0.025 + NOSE_OPENSTACK_SHOW_ELAPSED=1 + NOSE_OPENSTACK_STDOUT=1 deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires -commands = nosetests +commands = nosetests {posargs} [testenv:pep8] -deps = pep8 -commands = pep8 --repeat --show-source openstack tests setup.py - -[testenv:pylint] -deps = pylint -commands = pylint --rcfile=pylintrc --output-format=parseable openstack +deps = pep8==1.1 +commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc . [testenv:cover] -commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=openstack - -[testenv:sdist] -commands = python setup.py sdist {posargs} - -[testenv:hudson] -downloadcache = ~/cache/pip - -[testenv:jenkins26] -basepython = python2.6 -deps = file://{toxinidir}/.cache.bundle - -[testenv:jenkins27] -basepython = python2.7 -deps = file://{toxinidir}/.cache.bundle - -[testenv:jenkinscover] -deps = file://{toxinidir}/.cache.bundle -commands = nosetests --cover-erase --cover-package=openstack --with-xcoverage +setenv = NOSE_WITH_COVERAGE=1 +[testenv:venv] +commands = {posargs} |
