[tox] envlist = py26,py27,flake8 [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}/requirements.txt -r{toxinidir}/test-requirements.txt commands = nosetests {posargs} [tox:jenkins] sitepackages = True downloadcache = ~/cache/pip [testenv:flake8] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = flake8 --builtins=_ quark [testenv:cover] setenv = VIRTUAL_ENV={envdir} NOSE_WITH_COVERAGE=1 NOSE_COVER_HTML=1 NOSE_COVER_HTML_DIR=.cover-report NOSE_COVER_MIN_PERCENTAGE=90 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = nosetests --cover-package=quark --cover-erase {posargs} [testenv:venv] commands = {posargs} [flake8] show-source = true ignore = H302