From ce2d4bc50afd87670bed387eb8fb47031323c709 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Sat, 24 Mar 2018 22:03:13 +0000 Subject: [PATCH] Django 2.0 support Add py35dj20 to test Django 2.0 integration Also drops py27dj18 support since Django 1.10 is the primary version of Django support and it is covered by py27. Change-Id: Id2e782e9165c2f7145dc005c5f4eeff1c69cdd7b Signed-off-by: Charles Short --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 1701620..429ce04 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = pep8,py35,py27,py27dj18 +envlist = pep8,py35,py27,py35dj20 minversion = 2.3.2 skipsdist = True @@ -31,10 +31,10 @@ commands = coverage xml --omit '.tox/cover/*' -o 'cover/coverage.xml' coverage html --omit '.tox/cover/*' -d 'cover/htmlcov' -[testenv:py27dj18] -basepython = python2.7 +[testenv:py35dj20] +basepython = python3.5 commands = - pip install django>=1.8,<1.9 + pip install django>=2.0,<2.1 python manage.py test {posargs} [testenv:eslint]