File: tox.ini

package info (click to toggle)
python-persistent 4.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 664 kB
  • sloc: python: 4,899; ansic: 2,787; makefile: 125
file content (66 lines) | stat: -rw-r--r-- 1,278 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tox]
envlist =
# Jython 2.7rc2 does work, but unfortunately has an issue running
# with Tox 1.9.2 (http://bugs.jython.org/issue2325)
#   py27,py27-pure,pypy,py33,py34,pypy3,jython,coverage,docs
    py27,py27-pure,py27-pure-cffi,pypy,py33,py34,py35,pypy3,coverage,docs

[testenv]
deps =
    zope.interface
commands =
    python setup.py -q test -q

[testenv:jython]
commands =
   jython setup.py -q test -q

[testenv:py27-pure]
basepython =
    python2.7
setenv =
    PURE_PYTHON = 1
    PIP_CACHE_DIR = {envdir}/.cache
deps =
    {[testenv]deps}
commands =
    python setup.py -q test -q

[testenv:py27-pure-cffi]
basepython =
    python2.7
setenv =
    PURE_PYTHON = 1
    PIP_CACHE_DIR = {envdir}/.cache
    USING_CFFI = 1
deps =
    {[testenv]deps}
    cffi
commands =
    python setup.py -q test -q


[testenv:coverage]
basepython =
    python2.7
setenv =
    USING_CFFI = 1
commands =
    nosetests --with-xunit --with-xcoverage
deps =
    zope.interface
    nose
    coverage
    nosexcover
    cffi

[testenv:docs]
basepython =
    python2.7
commands =
    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
    sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
deps =
    zope.interface
    Sphinx
    repoze.sphinx.autointerface