File: tox.ini

package info (click to toggle)
python-characteristic 14.3.0-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 232 kB
  • sloc: python: 952; makefile: 145
file content (31 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py26, py27, py33, py34, pypy, flake8, docs, manifest

[testenv]
deps =
    setuptools>=7.0  # to avoid .egg directories
    pytest-cov
commands =
    python setup.py test -a "--cov characteristic --cov-report term-missing"

[testenv:flake8]
basepython = python2.7
deps =
    flake8
commands = flake8 characteristic.py test_characteristic.py

[testenv:docs]
basepython = python2.7
setenv =
    PYTHONHASHSEED = 0
deps =
    sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html

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