Skip to content

Commit

Permalink
add 'docs' target to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Oct 1, 2013
1 parent 965db8d commit 1f8fe95
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements.pip
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ mock>=1.0.1
webtest
django-webtest
selenium
django

13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[tox]
envlist =
d14, d15, d16, trunk, p3d15
d14, d15, d16, trunk, p3d15, docs
whitelist_externals = make
/bin/sh

[pytest]
DJANGO_SETTINGS_MODULE=demoproject.settings_travis
Expand Down Expand Up @@ -30,6 +32,15 @@ deps =
commands =
make ci -f {toxinidir}/Makefile

[testenv:docs]
commands =
make docs -f {toxinidir}/Makefile
setenv =
DJANGO=1.4.x
deps =
Sphinx==1.1.3
-r{toxinidir}/requirements.pip

[testenv:d14]
basepython = python2.7
setenv =
Expand Down

0 comments on commit 1f8fe95

Please sign in to comment.