1 # Copyright (c) 2016-2018 mudpy authors. Permission to use, copy,
2 # modify, and distribute this software is granted under terms
3 # provided in the LICENSE file distributed with this software.
7 envlist = dist, docs, flake8, yamllint, selftest_config, py3
9 ignore_basepython_conflict = True
14 install_command = pip install {opts} {packages}
16 PYTHONWARNINGS=default::DeprecationWarning
17 deps = -r{toxinidir}/test-requirements.txt
18 commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
21 commands = mudpy mudpy/tests/fixtures/test_daemon.yaml
24 whitelist_externals = rm
30 python setup.py bdist_wheel sdist
34 whitelist_externals = rm
35 deps = -r{toxinidir}/doc/requirements.txt
38 sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
41 commands = flake8 {posargs}
43 [testenv:selftest_config]
44 commands = mudpy_selftest etc/mudpy.yaml
47 commands = yamllint --strict {posargs} .
51 exclude=.git,.tox,*lib/python*,*egg,build