summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorChris Church <chris@ninemoreminutes.com>2013-06-22 22:27:09 +0200
committerChris Church <chris@ninemoreminutes.com>2013-06-22 22:27:17 +0200
commitd822287609d4e08a8076f65e716712de5517f69f (patch)
tree51a80bb69258ed68fd5f063665a6233b09ea8284 /tox.ini
parentFixed mislabeled help pop-overs (diff)
downloadawx-d822287609d4e08a8076f65e716712de5517f69f.tar.xz
awx-d822287609d4e08a8076f65e716712de5517f69f.zip
Updated to be compatible with Django 1.4.5, added tox settings for automated testing with Python 2.6/2.7 and Django 1.4/1.5.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini37
1 files changed, 37 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000000..d1a5ac7239
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,37 @@
+[tox]
+envlist =
+ py26-dj14, py27-dj14, py26-dj15, py27-dj15
+
+[testenv]
+commands = python manage.py test main
+deps =
+ -r{toxinidir}/requirements/test.txt
+setenv =
+ DJANGO_SETTINGS_MODULE = ansibleworks.settings.development
+ # For OS X to be able to install pycrypto.
+ CFLAGS=-I/opt/local/include
+downloadcache = {toxworkdir}/cache
+
+[testenv:py26-dj14]
+basepython = python2.6
+deps =
+ Django==1.4.5
+ {[testenv]deps}
+
+[testenv:py27-dj14]
+basepython = python2.7
+deps =
+ Django==1.4.5
+ {[testenv]deps}
+
+[testenv:py26-dj15]
+basepython = python2.6
+deps =
+ Django==1.5.1
+ {[testenv]deps}
+
+[testenv:py27-dj15]
+basepython = python2.7
+deps =
+ Django==1.5.1
+ {[testenv]deps}