b84f6cb97b
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
19 lines
390 B
INI
19 lines
390 B
INI
[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
|