File: tox.ini

package info (click to toggle)
zope.component 4.3.0-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 780 kB
  • sloc: python: 5,600; makefile: 130
file content (87 lines) | stat: -rw-r--r-- 1,633 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tox]
envlist =
# Jython support pending 2.7 support, due 2012-07-15 or so.  See:
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
    py27,py27-minimal,py27-pure,pypy,py33,py34,py34-pure,py35,py35-pure,pypy3,coverage,docs

[mindeps]
deps =
    zope.event
    zope.hookable
    zope.i18nmessageid
    zope.interface
    zope.schema
    zope.configuration

[fulldeps]
deps =
    {[mindeps]deps}
    persistent
    zope.location
    zope.proxy
    zope.security
    zope.testing

[testenv]
deps =
    {[fulldeps]deps}
commands =
    python setup.py -q test -q

[testenv:py27-minimal]
usedevelop = true
basepython =
    python2.7
deps =
    {[mindeps]deps}
    ordereddict
    nose
commands =
    nosetests -I persistentregistry -I security

[testenv:py34-pure]
basepython =
    python3.4
setenv =
    PURE_PYTHON = 1
    PIP_CACHE_DIR = {envdir}/.cache

[testenv:py35-pure]
basepython =
    python3.5
setenv =
    PURE_PYTHON = 1
    PIP_CACHE_DIR = {envdir}/.cache

[testenv:py27-pure]
basepython =
    python3.4
setenv =
    PURE_PYTHON = 1
    PIP_CACHE_DIR = {envdir}/.cache

[testenv:coverage]
usedevelop = true
basepython =
    python2.7
commands =
    nosetests --with-xunit --with-xcoverage
deps =
    {[fulldeps]deps}
    nose
    coverage
    nosexcover

[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 =
    {[fulldeps]deps}
    ZODB3
    Sphinx
    repoze.sphinx.autointerface
#   Ugh.  Need this for docs/testlayer.rst
    zope.testrunner