[tox]
envlist=py26, py27, py33, py34, py35, pypy, pypy3, flake8, coverage

[testenv]
commands=py.test {posargs} tests
deps=
    pytest

[testenv:coverage]
basepython = python3.5
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run -m pytest tests --strict {posargs}
    coverage report --include=django_cache_url.py
    coverage html --include=django_cache_url.py

[testenv:flake8]
basepython = python2.7
deps =
    flake8
commands =
    flake8 django_cache_url.py tests --max-line-length=100

[tox]
envlist=py26, py27, py33, py34, py35, pypy, flake8, coverage

[testenv]
commands=py.test {posargs} tests
deps=
    pytest

[testenv:coverage]
basepython = python3.5
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run -m pytest tests --strict {posargs}
    coverage report --include=django_cache_url.py
    coverage html --include=django_cache_url.py

[testenv:flake8]
basepython = python2.7
deps =
    flake8
commands =
    flake8 django_cache_url.py tests --max-line-length=100

Drop pypy3 until recent pip supports it
Drop pypy3 until recent pip supports it
