Skip to content

Commit

Permalink
Added tox to the mix.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastdriven committed Jun 11, 2011
1 parent 7323c2b commit 8892a5f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ _build
*.egg-info
dist
build
MANIFEST
MANIFEST
.tox
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[tox]
envlist = py25,py26,py27,docs
downloadcache = .tox/_download/

[testenv]
setenv =
PYTHONPATH = {toxinidir}/tests
commands =
{toxinidir}/tests/run_all_tests.sh
deps =
django==1.3

[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html


0 comments on commit 8892a5f

Please sign in to comment.