[tox]
envlist = python
minversion = 2.4

[testenv]
deps =
	setuptools>=31.0.1
commands =
	pytest {posargs}
	python setup.py checkdocs
usedevelop = True
extras = testing

[testenv:build-docs]
extras =
    docs
    testing
changedir = docs
commands =
    python -m sphinx . {toxinidir}/build/html

[tox]
envlist = python
minversion = 2.4

[testenv]
deps =
	setuptools>=31.0.1
	# workaround for yaml/pyyaml#126
	# git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7"
commands =
	pytest {posargs}
	python setup.py checkdocs
usedevelop = True
extras = testing

[testenv:build-docs]
extras =
    docs
    testing
changedir = docs
commands =
    python -m sphinx . {toxinidir}/build/html

Revert "Remove workaround for pyyaml 126."
Revert "Remove workaround for pyyaml 126."

This reverts commit 15024f12b5d4e90aee4f9a780efa263f47865d96.
