From c2cd93c7206d770f2804282fd06908cc86c2e031 Mon Sep 17 00:00:00 2001 From: Sven Grunewaldt Date: Thu, 21 Apr 2016 12:10:40 +0200 Subject: [PATCH] Add Django 1.7 to test environments --- test_app/app/settings.py | 1 - tox.ini | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test_app/app/settings.py b/test_app/app/settings.py index 5ae4e7c..445f40b 100644 --- a/test_app/app/settings.py +++ b/test_app/app/settings.py @@ -51,7 +51,6 @@ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', - 'django.middleware.security.SecurityMiddleware', ) ROOT_URLCONF = 'test_app.app.urls' diff --git a/tox.ini b/tox.ini index 57e2da8..a0333b3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,13 @@ [tox] -envlist = {py27,py34,py35,pypy}-{django18,django19},py33-django18 +envlist = + {py27,py34,pypy}-{django17,django18,django19}, + py35-{django18,django19}, + py33-{django17,django18} skipsdist = True [testenv] deps = -rrequirements-test.txt + django17: django<1.8 django18: django<1.9 django19: django<1.10 commands = py.test {posargs}