File: tox.ini

package info (click to toggle)
irclog2html 2.17.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,144 kB
  • sloc: python: 2,577; perl: 216; makefile: 65
file content (31 lines) | stat: -rw-r--r-- 608 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
[tox]
envlist = py27, py35, py36, py37, pypy, pypy3

[testenv]
deps =
    zope.testrunner
    zope.testing
    mock
commands =
    zope-testrunner --test-path=src {posargs:-v}

[testenv:py]
commands =
    python --version
    zope-testrunner --test-path=src {posargs:-v}

[testenv:coverage]
basepython = python2
usedevelop = true
deps =
    {[testenv]deps}
    coverage
commands =
    coverage run {posargs} -m zope.testrunner --test-path=src

[testenv:coverage3]
basepython = python3
usedevelop = true
deps = {[testenv:coverage]deps}
commands =
    coverage run {posargs} -m zope.testrunner --test-path=src