[tox]
minversion = 1.6
envlist = docs,py27
skipsdist = True

[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'

[testenv:venv]
commands = {posargs}

[testenv:docs]
commands = python setup.py build_sphinx

[tox]
minversion = 1.6
envlist = docs,py27
skipsdist = True

[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'

[testenv:venv]
commands = {posargs}

[testenv:docs]
basepython=python2.7
commands = python setup.py build_sphinx

Fix python version to 2.7 for docs
Fix python version to 2.7 for docs

Fedora 25 recently moved to python3 as the default python version.

Trying to build docs errors on Fedora 25 during the venv build
due to feedformatter not being Py3 clean.  feedformatter is a
dependency of yasfb, making yasfb py27 only.

Change-Id: Iabf51bf9d576eb0794b1d06c641400a79a00ce23
