2017-05-02 11:48:53 +00:00
|
|
|
[tox]
|
|
|
|
|
envlist =
|
2020-11-26 16:09:36 +00:00
|
|
|
tests-py{py,27,35}-dj111
|
2017-05-08 11:00:45 +00:00
|
|
|
tests-py36-dj111
|
2017-05-02 17:44:28 +00:00
|
|
|
apicheck
|
|
|
|
|
builddocs
|
2017-05-02 11:48:53 +00:00
|
|
|
flake8
|
|
|
|
|
flakeplus
|
2017-05-03 06:50:58 +00:00
|
|
|
manifest
|
2017-05-02 11:48:53 +00:00
|
|
|
pydocstyle
|
2017-05-03 06:50:58 +00:00
|
|
|
readme
|
2017-05-02 11:48:53 +00:00
|
|
|
|
2020-11-26 16:09:36 +00:00
|
|
|
[gh-actions]
|
2017-05-02 11:48:53 +00:00
|
|
|
python =
|
2020-11-26 16:09:36 +00:00
|
|
|
2.7: py27, flake8, flakeplus, pydocstyle
|
|
|
|
|
3.5: py35
|
|
|
|
|
3.6: py36, apicheck, builddocs, linkcheck
|
2017-05-02 17:51:02 +00:00
|
|
|
|
2017-05-02 11:48:53 +00:00
|
|
|
[testenv]
|
2017-05-02 17:44:28 +00:00
|
|
|
sitepackages = False
|
2017-05-02 11:48:53 +00:00
|
|
|
deps=
|
|
|
|
|
-r{toxinidir}/requirements/default.txt
|
|
|
|
|
-r{toxinidir}/requirements/test.txt
|
|
|
|
|
-r{toxinidir}/requirements/test-ci.txt
|
|
|
|
|
|
2017-05-08 13:26:45 +00:00
|
|
|
dj111: django>=1.11,<2
|
2017-05-02 11:48:53 +00:00
|
|
|
|
2017-05-02 17:44:28 +00:00
|
|
|
apicheck,builddocs,linkcheck: -r{toxinidir}/requirements/docs.txt
|
2017-05-03 06:50:58 +00:00
|
|
|
flake8,flakeplus,manifest,pydocstyle,readme: -r{toxinidir}/requirements/pkgutils.txt
|
2017-05-02 11:48:53 +00:00
|
|
|
|
|
|
|
|
commands =
|
2020-11-26 16:09:36 +00:00
|
|
|
tests: pytest -xv --cov=django_celery_monitor --cov-report=term --cov-report=xml --no-cov-on-fail []
|
2017-05-02 17:44:28 +00:00
|
|
|
apicheck: sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
|
|
|
|
|
builddocs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|
2017-05-03 08:07:48 +00:00
|
|
|
flake8: flake8 {toxinidir}/django_celery_monitor {toxinidir}/tests
|
|
|
|
|
flakeplus: flakeplus --2.7 {toxinidir}/django_celery_monitor {toxinidir}/tests
|
2017-05-02 17:44:28 +00:00
|
|
|
linkcheck: sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
|
2017-05-03 06:50:58 +00:00
|
|
|
manifest: check-manifest -v
|
2017-05-02 17:44:28 +00:00
|
|
|
pydocstyle: pydocstyle {toxinidir}/django_celery_monitor
|
2017-05-03 06:50:58 +00:00
|
|
|
readme: python setup.py check -r -s
|