Skip to content

Commit

Permalink
Testing against Python 3.3, but removing tests for Django 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmuellegger committed Aug 19, 2014
1 parent 4da8e91 commit 8fb845c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: python
env:
- TOX_ENV=py26-1.4
- TOX_ENV=py26-1.5
- TOX_ENV=py26-1.6
- TOX_ENV=py27-1.4
- TOX_ENV=py27-1.5
- TOX_ENV=py27-1.6
- TOX_ENV=pypy-1.4
- TOX_ENV=py33-1.5
- TOX_ENV=py33-1.6
- TOX_ENV=pypy-1.5
- TOX_ENV=pypy-1.6
before_install:
Expand Down
1 change: 0 additions & 1 deletion django_mobile_tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django_mobile.middleware.MobileDetectionMiddleware',
'django_mobile.middleware.SetFlavourMiddleware',
)
Expand Down
38 changes: 20 additions & 18 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
[tox]
envlist =
py26-1.4, py26-1.5, py26-1.6,
py27-1.4, py27-1.5, py27-1.6, py27-trunk,
pypy-1.4, pypy-1.5, pypy-1.6, pypy-trunk
py26-1.5, py26-1.6,
py27-1.5, py27-1.6, py27-trunk,
py27-1.5, py27-1.6, py27-trunk,
py33-1.5, py33-1.6, py33-trunk,
pypy-1.5, pypy-1.6, pypy-trunk

[testenv]
commands = python django_mobile_tests/runtests.py
setenv =
DJANGO_SETTINGS_MODULE = django_mobile_tests.settings

[testenv:py26-1.4]
basepython = python2.6
deps =
Django >= 1.4, < 1.4.99
-r{toxinidir}/requirements/tests.txt

[testenv:py26-1.5]
basepython = python2.6
deps =
Expand All @@ -27,12 +23,6 @@ deps =
Django >= 1.6, < 1.6.99
-r{toxinidir}/requirements/tests.txt

[testenv:py27-1.4]
basepython = python2.7
deps =
Django >= 1.4, < 1.4.99
-r{toxinidir}/requirements/tests.txt

[testenv:py27-1.5]
basepython = python2.7
deps =
Expand All @@ -51,10 +41,22 @@ deps =
https://github.com/django/django/tarball/master#egg=Django
-r{toxinidir}/requirements/tests.txt

[testenv:pypy-1.4]
basepython = pypy
[testenv:py33-1.5]
basepython = python3.3
deps =
Django >= 1.4, < 1.4.99
Django >= 1.5, < 1.5.99
-r{toxinidir}/requirements/tests.txt

[testenv:py33-1.6]
basepython = python3.3
deps =
Django >= 1.6, < 1.6.99
-r{toxinidir}/requirements/tests.txt

[testenv:py33-trunk]
basepython = python3.3
deps =
https://github.com/django/django/tarball/master#egg=Django
-r{toxinidir}/requirements/tests.txt

[testenv:pypy-1.5]
Expand Down

0 comments on commit 8fb845c

Please sign in to comment.