File: tox.ini

package info (click to toggle)
matrix-synapse-ldap3 0.1.4%2Bgit20201015%2Ba3c7a9f-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 148 kB
  • sloc: python: 910; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 724 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
[tox]
envlist = packaging, pep8, py35, py36, py37, py38

[testenv]
deps =
    Twisted>=15.1
    mock
    ldaptor
    matrix-synapse
    coverage
    ldap3>=2.8
setenv =
    PYTHONDONTWRITEBYTECODE = no_byte_code
    PYTHONPATH = .
commands =
    {envbindir}/coverage run {envbindir}/trial tests

[testenv:packaging]
deps =
    check-manifest
commands =
    check-manifest

[testenv:pep8]
skip_install = True
basepython = python3.5
deps =
    flake8
commands = flake8 .

# This uploads any coverage information that has been produced to codecov. This
# is really only useful for CI.
[testenv:codecov]
passenv = CODECOV_TOKEN
skip_install = True
deps =
    coverage
    codecov
commands =
    coverage xml
    codecov -X gcov