File: tox.ini

package info (click to toggle)
pyudev 0.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 716 kB
  • ctags: 870
  • sloc: python: 4,122; makefile: 16
file content (26 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (3)
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
[tox]
envlist = py27,py34,doc

[testenv]
setenv=LD_LIBRARY_PATH={envdir}/lib
deps=
    docutils>=0.9
    pytest>=2.8
    mock>=1.0b1
    coverage
    hypothesis
commands=
    py.test {posargs:--junitxml={envname}-tests.xml -rsx}
    coverage run --timid --branch -m py.test {posargs:--junitxml={envname}-tests.xml}
    coverage report --include="{envsitepackagesdir}/pyudev/*"
    coverage html --include="{envsitepackagesdir}/pyudev/*"

[testenv:doc]
downloadcache={toxworkdir}/_download
deps=
    mock>=1.0b1
    pytest>=2.8
    sphinx>=1.0.7
commands=
    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html