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

[testenv]
deps =
setenv =
    PYTHONWARNINGS = default
commands =
    {envpython} setup.py test

[testenv:flake]
basepython = python3.5
commands=
    pip install --quiet flake8
    {envpython} setup.py clean --all flake8

[testenv:cover]
basepython = python3.5
commands =
    pip install --quiet coverage
    {envpython} setup.py clean --all
    coverage run setup.py test