Skip to content

Commit

Permalink
Add tox.ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Mar 18, 2013
1 parent b3c86b3 commit 914d3c6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.idea/
.pydevproject
.idea/workspace.xml
.tox/
.DS_Store
dist/
docs/_build/
Expand Down
38 changes: 38 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[tox]
envlist=
py26-django14,
py27-django14,
py26-django13,
py27-django13,
docs

[testenv]
commands=
python runtests.py

[testenv:py26-django14]
basepython=python2.6
deps=
django==1.4.5

[testenv:py27-django14]
basepython=python2.7
deps=
django==1.4.5

[testenv:py26-django13]
basepython=python2.6
deps=
django==1.3.7

[testenv:py27-django13]
basepython=python2.7
deps=
django==1.3.7

[testenv:docs]
changedir = docs
deps =
Sphinx
-r{toxinidir}/docs/_ext/djangodummy/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit 914d3c6

Please sign in to comment.