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 <zulcss@ubuntu.com>
This commit is contained in:
Charles Short 2018-03-24 22:03:13 +00:00
parent c88e3a860c
commit ce2d4bc50a

View File

@ -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]