Commits

Will Emmerson  committed f99493e

get tox working again
added runtests.py back in because it seems django 1.4 and 1.5 need it
add python 3.3 as tox target

  • Participants
  • Parent commits c301ecd

Comments (0)

Files changed (2)

File easy_maps_tests/runtests.py

+#!/usr/bin/env python
+import sys
+from django.core.management import execute_manager
+import settings
+
+sys.argv.insert(1, 'test')
+
+if len(sys.argv) == 2:
+    sys.argv.append('easy_maps')
+    sys.argv.append('test_app')
+
+if __name__ == "__main__":
+    execute_manager(settings)
+
 [tox]
-envlist = py26, py27, dj13, dj15
+envlist = py26, py27, py33, dj14, dj15, dj16,
 
 [base]
 deps=
 [testenv]
 deps=
     {[base]deps}
-    django >= 1.4, < 1.5
+    django >= 1.4, < 1.7
+commands=
+    python easy_maps_tests/manage.py test []
 
-commands=
-    python easy_maps_tests/runtests.py []
 
-
-[testenv:dj13]
+[testenv:dj14]
 basepython = python2.7
 deps=
     {[base]deps}
-    django >= 1.3, < 1.4
+    django >= 1.4, < 1.5
+commands=
+    python easy_maps_tests/runtests.py []
 
 [testenv:dj15]
 basepython = python2.7
 deps=
     {[base]deps}
     django >= 1.5, < 1.6
+commands=
+    python easy_maps_tests/runtests.py []
+
+[testenv:dj16]
+basepython = python2.7
+deps=
+    {[base]deps}
+    django >= 1.6, < 1.7
+