Drop support for django < 1.11

parent cd61ba77
Pipeline #1580 failed with stages
in 6 minutes and 22 seconds
......@@ -4,161 +4,75 @@ stages:
- build
- deploy
py27-django18:
image: python:2.7
stage: test
before_script:
- pip install tox
script: tox -e py27-django18
py34-django18:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django18
py35-django18:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django18
py36-django18:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django18
py37-django18:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django18
py27-django19:
image: python:2.7
stage: test
before_script:
- pip install tox
script: tox -e py27-django19
py34-django19:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django19
py35-django19:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django19
py36-django19:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django19
py37-django19:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django19
py27-django110:
py27-django111:
image: python:2.7
stage: test
before_script:
- pip install tox
script: tox -e py27-django110
script: tox -e py27-django111
py34-django110:
py34-django111:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django110
script: tox -e py34-django111
py35-django110:
py35-django111:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django110
script: tox -e py35-django111
py36-django110:
py36-django111:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django110
script: tox -e py36-django111
py37-django110:
py37-django111:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django110
script: tox -e py37-dev-django111
py27-django111:
py27-django20:
image: python:2.7
stage: test
before_script:
- pip install tox
script: tox -e py27-django111
script: tox -e py27-django20
py34-django111:
py34-django20:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django111
script: tox -e py34-django20
py35-django111:
py35-django20:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django111
script: tox -e py35-django20
py36-django111:
py36-django20:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django111
script: tox -e py36-django20
py37-django111:
py37-django20:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django111
script: tox -e py37-dev-django20
......
django-app-settings==0.2.5
django-cerberus-ac==0.2.1
-r base.txt
pytest
pytest-travis-fold
pytest-cov
pytest-django
django-fake-model
......@@ -25,6 +25,7 @@ try:
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sites',
'cerberus_ac',
'hope',
],
SITE_ID=1,
......
[tox]
envlist =
clean,setup,safety,style,docs,
py27-django18,
py27-django19,
py27-django110,
py27-django111,
py34-django18,
py34-django19,
py34-django110,
py27-django20,
py34-django111,
py35-django18,
py35-django19,
py35-django110,
py34-django20,
py35-django111,
py36-django18,
py36-django19,
py36-django110,
py35-django20,
py36-django111,
py37-dev-django18,
py37-dev-django19,
py37-dev-django110,
py36-django20,
py37-dev-django111,
pypy-django18,
pypy-django19,
pypy-django110,
py37-dev-django20,
pypy-django111,
pypy-django20,
report
skip_missing_interpreters = true
......@@ -34,10 +22,8 @@ setenv =
PYTHONUNBUFFERED=yes
commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests}
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
-r{toxinidir}/requirements/test.txt
passenv = *
usedevelop = false
......@@ -46,7 +32,7 @@ whitelist_externals = tox
[testenv:test]
description = Run all the Python/Django test environments.
skip_install = true
commands = tox -e py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
commands = tox -e py27-django111,py27-django20,py34-django111,py34-django20,py35-django111,py35-django20,py36-django111,py36-django20,py37-dev-django111,py37-dev-django20,pypy-django18,pypy-django19,pypy-django111,pypy-django20,
tox -e report
[testenv:dtest]
......@@ -54,7 +40,7 @@ description = Run all the Python/Django test environments in parallel.
skip_install = true
deps = detox
commands =
detox -e py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
detox -e py27-django111,py27-django20,py34-django111,py34-django20,py35-django111,py35-django20,py36-django111,py36-django20,py37-dev-django111,py37-dev-django20,pypy-django18,pypy-django19,pypy-django111,pypy-django20,
tox -e report
[testenv:detox]
......@@ -62,7 +48,7 @@ description = Run all the environments in parallel.
skip_install = true
deps = detox
commands =
detox -e clean,setup,safety,style,docs,py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
detox -e clean,setup,safety,style,docs,py27-django111,py27-django20,py34-django111,py34-django20,py35-django111,py35-django20,py36-django111,py36-django20,py37-dev-django111,py37-dev-django20,pypy-django18,pypy-django19,pypy-django111,pypy-django20,
tox -e report
[testenv:check]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment