You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
661 B
35 lines
661 B
[tox]
|
|
skip_missing_interpreters = True
|
|
envlist = py36, py37, py38, inst, setup, unit, doc
|
|
|
|
# test that it can be installed with custom commands and clean env
|
|
[testenv:inst]
|
|
skip_install = True
|
|
commands =
|
|
- pip install .
|
|
recreate = True
|
|
|
|
[testenv:setup]
|
|
skip_install = True
|
|
commands = python setup.py install
|
|
recreate = True
|
|
|
|
[testenv:unit]
|
|
deps = .[test]
|
|
commands = pytest -svv tests
|
|
|
|
[testenv:doc]
|
|
deps = .[doc]
|
|
whitelist_externals = make
|
|
changedir = docs
|
|
commands =
|
|
make html
|
|
make man
|
|
|
|
# this requires Internet, it should not be in envlist
|
|
[testenv:doclinks]
|
|
deps = .[doc]
|
|
whitelist_externals = make
|
|
changedir = docs
|
|
commands =
|
|
make linkcheck
|
|
|