- VIRTUAL_ENV={envdir}
- PYTHONWARNINGS=default::DeprecationWarning
-deps = -r{toxinidir}/test-requirements.txt
-commands = python setup.py test --slowest --testr-args='{posargs}'
+ PYTHONWARNINGS=default::DeprecationWarning
+commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
+
+[testenv:bandit]
+deps = bandit
+commands = bandit -r mudpy -x mudpy/tests {posargs}
+usedevelop = False
+
+[testenv:demo]
+commands = mudpy {posargs}
+
+[testenv:dist]
+whitelist_externals = rm
+deps =
+ pbr
+ twine
+ wheel
+commands =
+ rm -fr dist
+ python setup.py bdist_wheel sdist
+ twine check dist/*
+usedevelop = False
+
+[testenv:docs]
+whitelist_externals = rm
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/doc/requirements.txt
+commands =
+ rm -fr doc/build
+ python setup.py sdist
+ sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
+usedevelop = False