[tox]
envlist = {py27,pypy}-{twtrunk,twlatest,tw150}

[testenv]
deps =
    .[test]
    twlatest: Twisted
    twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
    tw150: Twisted==15.0
    coverage
# Travis doesn't have a new enough PyPy for this to work yet
    pypy: cryptography < 1.0
commands =
    coverage run {envdir}/bin/trial \
        --temp-directory={envdir}/_trial {posargs:axiom}
    coverage report --rcfile={toxinidir}/.coveragerc
    coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage

[tox]
envlist = {py27,pypy}-{twtrunk,twlatest,tw150}

[testenv]
deps =
    .[test]
    twlatest: Twisted
    twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
    tw150: Twisted==15.0
    coverage
commands =
    coverage run {envdir}/bin/trial \
        --temp-directory={envdir}/_trial {posargs:axiom}
    coverage report --rcfile={toxinidir}/.coveragerc
    coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage

Drop cryptography constaint now that we install our own PyPy.
Drop cryptography constaint now that we install our own PyPy.
