File: tox.ini

package info (click to toggle)
hyperkitty 1.2.2-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,280 kB
  • sloc: javascript: 21,311; python: 9,944; makefile: 141
file content (45 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py{35,36,37}-django{111,20},docs,lint


[testenv]
usedevelop = True
deps =
    setuptools
    Whoosh
    mock
    beautifulsoup4
    coverage
    head: git+https://gitlab.com/mailman/mailmanclient.git
    head: git+https://gitlab.com/mailman/django-mailman3.git
    dev: -e../mailmanclient
    dev: -e../django-mailman3
    django111: Django>=1.11,<1.12
    django20: Django>=2.0,<2.1
    django21: Django>=2.1,<2.2
commands =
    coverage run example_project/manage.py test --settings=hyperkitty.tests.settings_test {posargs:hyperkitty}
    coverage: coverage html
    coverage: coverage report


[testenv:docs]
changedir = doc
deps = sphinx
whitelist_externals =
    mkdir
commands=
    mkdir -p {toxinidir}/doc/_static
    sphinx-build -W -D html_theme=alabaster -b html -d {envtmpdir}/doctrees .  {toxinidir}/doc/_build/html


[testenv:lint]
deps =
    flake8 > 3.0
commands =
    python -m flake8 {posargs:hyperkitty}


[flake8]
show-source = True
exclude = .git,.tox,dist,*egg,doc