[tox]
envlist = py27,py33,py34,py35,py36,flake8,docs

[travis]
python =
  2.7: py27
  3.3: py33
  3.4: py34
  3.5: py35
  3.6: py36, docs, flake8

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/webhook_logger

commands = coverage run setup.py test

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 webhook_logger

[testenv:docs]
changedir = docs
basepython = python
deps =
    Sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html

[tox]
envlist = py27,py33,py34,py35,py36,flake8,docs

[travis]
python =
  2.7: py27
  3.3: py33
  3.4: py34
  3.5: py35
  3.6: py36, docs, flake8

[testenv]
deps = coverage
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/webhook_logger

commands = coverage run setup.py test

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 webhook_logger

[testenv:docs]
changedir = docs
basepython = python
deps =
    Sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html

Fix warning about missing coverage command
Fix warning about missing coverage command
