mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-19 15:11:52 +00:00
Update tox.ini for Django 1.6 stable branch, South supporting Py3.
This commit is contained in:
parent
fb96dee2d0
commit
bcc8ad3a64
2 changed files with 68 additions and 44 deletions
|
|
@ -593,7 +593,7 @@ if introspector:
|
||||||
|
|
||||||
|
|
||||||
def test_no_excerpt_field_works(self):
|
def test_no_excerpt_field_works(self):
|
||||||
from models import NoRendered
|
from .models import NoRendered
|
||||||
self.assertRaises(FieldDoesNotExist,
|
self.assertRaises(FieldDoesNotExist,
|
||||||
NoRendered._meta.get_field,
|
NoRendered._meta.get_field,
|
||||||
'_body_excerpt')
|
'_body_excerpt')
|
||||||
|
|
|
||||||
110
tox.ini
110
tox.ini
|
|
@ -1,85 +1,109 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py26-1.4, py26-1.5, py26-trunk,
|
py26-1.4, py26-1.5, py26-1.6,
|
||||||
py27-1.4, py27-1.5, py27-trunk, py27-1.4-nosouth,
|
py27-1.4, py27-1.5, py27-1.6, py27-trunk, py27-1.5-nosouth,
|
||||||
py32-1.5-nosouth, py32-trunk-nosouth,
|
py32-1.5, py32-1.6, py32-trunk,
|
||||||
py33-1.5-nosouth, py33-trunk-nosouth
|
py33-1.5, py33-1.6, py33-trunk
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
commands = coverage run -a setup.py test
|
commands = coverage run -a setup.py test
|
||||||
|
|
||||||
[testenv:py26-1.4]
|
[testenv:py26-1.4]
|
||||||
basepython = python2.6
|
basepython = python2.6
|
||||||
deps =
|
deps =
|
||||||
django == 1.4.5
|
Django == 1.4.5
|
||||||
South == 0.7.6
|
South == 0.7.6
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py26-1.5]
|
[testenv:py26-1.5]
|
||||||
basepython = python2.6
|
basepython = python2.6
|
||||||
deps =
|
deps =
|
||||||
django == 1.5.1
|
Django == 1.5.1
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py26-trunk]
|
[testenv:py26-1.6]
|
||||||
basepython = python2.6
|
basepython = python2.6
|
||||||
deps =
|
deps =
|
||||||
https://github.com/django/django/tarball/master
|
https://github.com/django/django/tarball/stable/1.6.x
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py27-1.4]
|
[testenv:py27-1.4]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
django == 1.4.5
|
Django == 1.4.5
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py27-1.5]
|
[testenv:py27-1.5]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
django == 1.5.1
|
Django == 1.5.1
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py27-1.6]
|
||||||
|
basepython = python2.7
|
||||||
|
deps =
|
||||||
|
https://github.com/django/django/tarball/stable/1.6.x
|
||||||
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py27-trunk]
|
[testenv:py27-trunk]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
https://github.com/django/django/tarball/master
|
https://github.com/django/django/tarball/master
|
||||||
South == 0.7.6
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
||||||
[testenv:py32-1.5-nosouth]
|
[testenv:py27-1.5-nosouth]
|
||||||
basepython = python3.2
|
|
||||||
deps =
|
|
||||||
django == 1.5.1
|
|
||||||
coverage == 3.6
|
|
||||||
|
|
||||||
[testenv:py32-trunk-nosouth]
|
|
||||||
basepython = python3.2
|
|
||||||
deps =
|
|
||||||
https://github.com/django/django/tarball/master
|
|
||||||
coverage == 3.6
|
|
||||||
|
|
||||||
[testenv:py33-1.5-nosouth]
|
|
||||||
basepython = python3.3
|
|
||||||
deps =
|
|
||||||
django == 1.5.1
|
|
||||||
coverage == 3.6
|
|
||||||
|
|
||||||
[testenv:py33-trunk-nosouth]
|
|
||||||
basepython = python3.3
|
|
||||||
deps =
|
|
||||||
https://github.com/django/django/tarball/master
|
|
||||||
coverage == 3.6
|
|
||||||
|
|
||||||
|
|
||||||
[testenv:py27-1.4-nosouth]
|
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
django == 1.4.5
|
Django == 1.5.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py32-1.5]
|
||||||
|
basepython = python3.2
|
||||||
|
deps =
|
||||||
|
Django == 1.5.1
|
||||||
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py32-1.6]
|
||||||
|
basepython = python3.2
|
||||||
|
deps =
|
||||||
|
https://github.com/django/django/tarball/stable/1.6.x
|
||||||
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py32-trunk]
|
||||||
|
basepython = python3.2
|
||||||
|
deps =
|
||||||
|
https://github.com/django/django/tarball/master
|
||||||
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py33-1.5]
|
||||||
|
basepython = python3.3
|
||||||
|
deps =
|
||||||
|
Django == 1.5.1
|
||||||
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py33-1.6]
|
||||||
|
basepython = python3.3
|
||||||
|
deps =
|
||||||
|
https://github.com/django/django/tarball/stable/1.6.x
|
||||||
|
South == 0.8.1
|
||||||
|
coverage == 3.6
|
||||||
|
|
||||||
|
[testenv:py33-trunk]
|
||||||
|
basepython = python3.3
|
||||||
|
deps =
|
||||||
|
https://github.com/django/django/tarball/master
|
||||||
|
South == 0.8.1
|
||||||
coverage == 3.6
|
coverage == 3.6
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue