# -*- coding: utf-8 -*-
#
# This software may be modified and distributed under the terms
# of the MIT license.  See the LICENSE file for details.

[tox]
envlist =
    docs,py27,py36,pypy,pypy3

[testenv]
deps =
    flake8
    isort
commands =
    {envbindir}/python -m unittest discover -s tests -p '*_test.py'
    {envbindir}/python setup.py flake8
    {envbindir}/python setup.py isort

[testenv:docs]
deps = sphinx
whitelist_externals = make
commands = make -C docs html BUILDDIR={envtmpdir} "SPHINXOPTS=-W -E"

# -*- coding: utf-8 -*-
#
# This software may be modified and distributed under the terms
# of the MIT license.  See the LICENSE file for details.

[tox]
skip_missing_interpreters = true
envlist =
    docs,py27,py36,py37,pypy,pypy3

[testenv]
deps =
    flake8
    isort
commands =
    {envbindir}/python -m unittest discover -s tests -p '*_test.py'
    {envbindir}/python setup.py flake8
    {envbindir}/python setup.py isort

[testenv:docs]
deps = sphinx
whitelist_externals = make
commands = make -C docs html BUILDDIR={envtmpdir} "SPHINXOPTS=-W -E"

Add Python3.7 to Tox environments
Add Python3.7 to Tox environments
