Commit a35236b2 by Florian Apolloner

Added tox file.

parent f4c9edde
......@@ -50,7 +50,7 @@ class Pet(models.Model):
class HousePet(Pet):
trained = models.BooleanField()
trained = models.BooleanField(default=False)
# Test direct-tagging with custom through model
......@@ -84,7 +84,7 @@ class DirectPet(models.Model):
class DirectHousePet(DirectPet):
trained = models.BooleanField()
trained = models.BooleanField(default=False)
# Test custom through model to model with custom PK
......@@ -114,7 +114,7 @@ class CustomPKPet(models.Model):
return self.name
class CustomPKHousePet(CustomPKPet):
trained = models.BooleanField()
trained = models.BooleanField(default=False)
# Test custom through model to a custom tag model
......@@ -143,7 +143,7 @@ class OfficialPet(models.Model):
return self.name
class OfficialHousePet(OfficialPet):
trained = models.BooleanField()
trained = models.BooleanField(default=False)
class Media(models.Model):
......
[testenv]
skipsdist = True
usedevelop = True
deps =
flake8
deps14 =
https://github.com/django/django/archive/stable/1.4.x.zip#egg=django
deps15 =
https://github.com/django/django/archive/stable/1.5.x.zip#egg=django
deps16 =
https://github.com/django/django/archive/stable/1.6.x.zip#egg=django
deps17 =
https://github.com/django/django/archive/master.zip#egg=django
commands =
python ./runtests.py
[testenv:py26-1.4.x]
basepython = python2.6
deps =
{[testenv]deps}
{[testenv]deps14}
[testenv:py26-1.5.x]
basepython = python2.6
deps =
{[testenv]deps}
{[testenv]deps15}
[testenv:py26-1.6.x]
basepython = python2.6
deps =
{[testenv]deps}
{[testenv]deps16}
[testenv:py27-1.4.x]
basepython = python2.7
deps =
{[testenv]deps}
{[testenv]deps14}
[testenv:py27-1.5.x]
basepython = python2.7
deps =
{[testenv]deps}
{[testenv]deps15}
[testenv:py27-1.6.x]
basepython = python2.7
deps =
{[testenv]deps}
{[testenv]deps16}
[testenv:py27-1.7.x]
basepython = python2.7
deps =
{[testenv]deps}
{[testenv]deps17}
[testenv:py32-1.5.x]
basepython = python3.2
deps =
{[testenv]deps}
{[testenv]deps15}
[testenv:py32-1.6.x]
basepython = python3.2
deps =
{[testenv]deps}
{[testenv]deps16}
[testenv:py32-1.7.x]
basepython = python3.2
deps =
{[testenv]deps}
{[testenv]deps17}
[testenv:py33-1.5.x]
basepython = python3.3
deps =
{[testenv]deps}
{[testenv]deps15}
[testenv:py33-1.6.x]
basepython = python3.3
deps =
{[testenv]deps}
{[testenv]deps16}
[testenv:py33-1.7.x]
basepython = python3.3
deps =
{[testenv]deps}
{[testenv]deps17}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment