[tox]
envlist = py27, py35, lint3
usedevelop = true

[testenv]
commands =
    {envpython} setup.py --version
    pip install .
    {envpython} -m unittest {posargs:discover -v crochet.tests}

[testenv:lint3]
deps = flake8
       pylint
       yapf
basepython = python3.5
commands = flake8 crochet
           pylint crochet
[tox]
envlist = lint3,{py27,py34,py35,py36,py37,pypy}-{twisted-16,twisted-latest}
usedevelop = true

[testenv]
deps =
    twisted-16: Twisted==16.0
    twisted-latest: Twisted
commands =
    {envpython} setup.py --version
    pip install .
    {envpython} -m unittest {posargs:discover -v crochet.tests}

[testenv:lint3]
deps = flake8
       pylint
       yapf
basepython = python3.5
commands = flake8 crochet
           pylint crochet

Expand the Tox environment list for python 3 and pypy
Expand the Tox environment list for python 3 and pypy

This expands the test matrix to include pypy and Python 3.7, as well as
testing Twisted 16.0 and the latest Twisted against all interpreters.

Signed-off-by: Jeremy Cline <f648af476d5297108517aa3643c2c45a04900eaa@redhat.com>
