By default, tox now builds the docs

This makes sure nobody breaks the docs by accident
This commit is contained in:
Anders Ingemann 2016-03-03 23:41:44 +01:00
parent f8118b3f3e
commit 4c9aaf2dba

View file

@ -1,11 +1,10 @@
[tox] [tox]
envlist = flake8, unit envlist = flake8, unit, docs
[flake8] [flake8]
ignore = E101,E221,E241,E501,W191 ignore = E101,E221,E241,E501,W191
max-line-length = 110 max-line-length = 110
[testenv:flake8] [testenv:flake8]
deps = flake8 deps = flake8
commands = flake8 bootstrapvz/ tests/ --exclude=minify_json.py {posargs} commands = flake8 bootstrapvz/ tests/ --exclude=minify_json.py {posargs}
@ -27,7 +26,5 @@ commands = nosetests --with-coverage --cover-package=bootstrapvz --cover-inclusi
[testenv:docs] [testenv:docs]
changedir = docs changedir = docs
deps = deps = sphinx
sphinx commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
commands =
sphinx-build -W -b html -d _build/html/doctrees . _build/html