[tox]
envlist = coverage-clean,{py27,pypy,py34,py35,py36}-{extras,noextras},coverage-report

[testenv]
deps =
    extras: graphviz>=0.4.9
    extras: Twisted>=16.2.0
    coverage
    pytest

commands =
    coverage run --parallel --source automat -m py.test automat/_test

[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase

[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report -m

[testenv:benchmark]
deps = pytest-benchmark
commands = pytest --benchmark-only benchmark/

[testenv:py27-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:py34-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:py34-extras]
deps =
    coverage
    pytest
    graphviz>=0.4.9
    Twisted>=16.2.0,<19.7.0

[testenv:py35-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:py36-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:pypy-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[tox]
envlist = coverage-clean,{py27,pypy,py35,py36,py38}-{extras,noextras},coverage-report

[testenv]
deps =
    extras: graphviz>=0.4.9
    extras: Twisted>=16.2.0
    coverage
    pytest

commands =
    coverage run --parallel --source automat -m py.test automat/_test

[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase

[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report -m

[testenv:benchmark]
deps = pytest-benchmark
commands = pytest --benchmark-only benchmark/

[testenv:py27-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:py35-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:py36-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

[testenv:pypy-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}

Remove Python 3.4 and add 3.8.
Remove Python 3.4 and add 3.8.

This will fail until #111 is merged.
