|
|
@ -1,9 +1,16 @@
|
|
|
|
[tox]
|
|
|
|
[tox]
|
|
|
|
envlist =
|
|
|
|
envlist =
|
|
|
|
py{27,34,35}-sphinx{14,15}
|
|
|
|
py{27,34,35,36}-sphinx{13,14,15}
|
|
|
|
lint
|
|
|
|
lint
|
|
|
|
docs
|
|
|
|
docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[travis]
|
|
|
|
|
|
|
|
python =
|
|
|
|
|
|
|
|
2.7: py27
|
|
|
|
|
|
|
|
3.4: py34
|
|
|
|
|
|
|
|
3.5: py35
|
|
|
|
|
|
|
|
3.6: py36
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
[testenv]
|
|
|
|
setenv =
|
|
|
|
setenv =
|
|
|
|
LANG=C
|
|
|
|
LANG=C
|
|
|
@ -12,12 +19,13 @@ deps = -r{toxinidir}/requirements.txt
|
|
|
|
mock
|
|
|
|
mock
|
|
|
|
sphinx14: Sphinx<1.5
|
|
|
|
sphinx14: Sphinx<1.5
|
|
|
|
sphinx15: Sphinx<1.6
|
|
|
|
sphinx15: Sphinx<1.6
|
|
|
|
|
|
|
|
sphinx16: Sphinx<1.7
|
|
|
|
commands =
|
|
|
|
commands =
|
|
|
|
py.test {posargs}
|
|
|
|
py.test {posargs}
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
[testenv:docs]
|
|
|
|
deps =
|
|
|
|
deps =
|
|
|
|
Sphinx==1.5
|
|
|
|
Sphinx==1.6
|
|
|
|
sphinx_rtd_theme
|
|
|
|
sphinx_rtd_theme
|
|
|
|
changedir = {toxinidir}/docs
|
|
|
|
changedir = {toxinidir}/docs
|
|
|
|
commands =
|
|
|
|
commands =
|
|
|
@ -30,4 +38,4 @@ commands =
|
|
|
|
prospector \
|
|
|
|
prospector \
|
|
|
|
--profile-path={toxinidir} \
|
|
|
|
--profile-path={toxinidir} \
|
|
|
|
--profile=prospector \
|
|
|
|
--profile=prospector \
|
|
|
|
--die-on-tool-error
|
|
|
|
--die-on-tool-error {posargs}
|
|
|
|