From 57f301815dcddbb896b18701959458421b1e3097 Mon Sep 17 00:00:00 2001 From: Axel Haustant Date: Thu, 16 Apr 2015 14:09:32 +0200 Subject: [PATCH] Added a tox.ini file allowing to test with different versions --- tox.ini | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..6a3e0600 --- /dev/null +++ b/tox.ini @@ -0,0 +1,17 @@ +[tox] +envlist = + {py27,py32,py33,py34,pypy,pypy3}-{mg27,mg28,mg30}-{dj15,dj16,dj17,djdev}, + py26-{mg27,mg28,mg30}-{dj15,dj16} + +[testenv] +commands = + python setup.py test +deps = + mg27: PyMongo<2.8 + mg28: PyMongo>=2.8,<3.0 + mg30: PyMongo>=3.0 + mgdev: https://github.com/mongodb/mongo-python-driver/tarball/master + dj15: Django<1.6 + dj16: Django>=1.6,<1.7 + dj17: Django>=1.7,<1.8 + djdev: https://github.com/django/django/tarball/master