[tox] Install "pyramid" dependencies in "doc" environment
Otherwise most of the cubicweb.pyramid API doc fails to build. For this we
skip installation in the "doc" environment and source the new
requirements/doc.txt which will install cubicweb[pyramid], thus pulling
cubicweb plus pyramid's dependencies.
Furthermore this requirements/doc.txt would be useful to build to
documentation on readthedocs.
[tox]
envlist = py27,py34,flake8
[testenv]
sitepackages = true
deps =
pytest
commands =
{envpython} -m pytest {posargs:test}
[testenv:flake8]
skip_install = true
whitelist_externals =
flake8
deps =
flake8
commands = flake8
[flake8]
exclude = cubicweb_%(cubename)s/migration/*,test/data/*,.tox/*