summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 78194916f3d41bbb2130c827a575800c70bbb4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = py27, py34, py35, py36, py37, pypy, pypy3,
    docs

[testenv]
deps =
    # Paste works on Python 3 since Paste 2.0
    Paste
    pytest
    pytest-cov
commands =
    py.test --cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing {posargs}

[testenv:docs]
# pin to 3.5 to match what RTD uses
basepython = python3.5
whitelist_externals = make
commands =
    make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
extras =
    docs