summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 29d7b0a253b9e7d8b65abb97d5b03543e8bd6984 (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,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