[tox] minverson = 1.6 envlist = py34, py27, pep8, docs skipsdist = True [testenv] setenv = LANGUAGE=en_US LC_ALL=en_US.utf-8 SURVEIL_INTEGRATION_TESTS=False SURVEIL_FUNCTIONAL_MONGOMOCK=False usedevelop = True install_command = pip install -U --force-reinstall {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='--parallel --concurrency=1' [testenv:integration] setenv = SURVEIL_INTEGRATION_TESTS=True SURVEIL_INTEGRATION_TESTS_BACKEND=DOCKER commands = python setup.py testr --slowest --testr-args='--parallel --concurrency=1 --isolated' [testenv:pep8] commands = flake8 [testenv:venv] commands = {posargs} [testenv:docs] commands = python setup.py build_sphinx [flake8] exclude = .venv,.git,.tox,env,dist,*openstack/common*,*lib/python*/,*egg,build,*doc/conf.py,surveil/cmd/pack_upload.py,surveil/cmd/surveil_from_nagios.py