summaryrefslogtreecommitdiff
path: root/tox.ini
blob: b34117b0f0007fd2252c3b67ae5fdba2d869fa06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[tox]
envlist = py27, py35, py36, py37, pypy

[testenv]
# For performance, but also for using "source" with coveragepy (https://github.com/nedbat/coveragepy/issues/268).
usedevelop = True
deps =
    pytest
    # 4.5.2a1 for py37 fix
    coverage: https://github.com/nedbat/coveragepy/archive/58b210ad8998a9270f4ee6ff0c9054785f579b43.zip
    coverage: pytest-cov
setenv =
    coverage: PYTEST_ADDOPTS=--cov --cov-report=term-missing
commands =
    py.test {posargs}