Drop support for django < 1.11

parent cd61ba77
Pipeline #1580 failed with stages
in 6 minutes and 22 seconds
...@@ -4,161 +4,75 @@ stages: ...@@ -4,161 +4,75 @@ stages:
- build - build
- deploy - deploy
py27-django18: py27-django111:
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:
image: python:2.7 image: python:2.7
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py27-django110 script: tox -e py27-django111
py34-django110: py34-django111:
image: python:3.4 image: python:3.4
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py34-django110 script: tox -e py34-django111
py35-django110: py35-django111:
image: python:3.5 image: python:3.5
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py35-django110 script: tox -e py35-django111
py36-django110: py36-django111:
image: python:3.6 image: python:3.6
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py36-django110 script: tox -e py36-django111
py37-django110: py37-django111:
image: python:3.7-rc-stretch image: python:3.7-rc-stretch
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py37-dev-django110 script: tox -e py37-dev-django111
py27-django111: py27-django20:
image: python:2.7 image: python:2.7
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py27-django111 script: tox -e py27-django20
py34-django111: py34-django20:
image: python:3.4 image: python:3.4
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py34-django111 script: tox -e py34-django20
py35-django111: py35-django20:
image: python:3.5 image: python:3.5
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py35-django111 script: tox -e py35-django20
py36-django111: py36-django20:
image: python:3.6 image: python:3.6
stage: test stage: test
before_script: before_script:
- pip install tox - pip install tox
script: tox -e py36-django111 script: tox -e py36-django20
py37-django111: py37-django20:
image: python:3.7-rc-stretch image: python:3.7-rc-stretch
stage: test stage: test
before_script: before_script:
- pip install tox - 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 -r base.txt
pytest pytest
pytest-travis-fold
pytest-cov pytest-cov
pytest-django
django-fake-model django-fake-model
...@@ -25,6 +25,7 @@ try: ...@@ -25,6 +25,7 @@ try:
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.sites', 'django.contrib.sites',
'cerberus_ac',
'hope', 'hope',
], ],
SITE_ID=1, SITE_ID=1,
......
[tox] [tox]
envlist = envlist =
clean,setup,safety,style,docs, clean,setup,safety,style,docs,
py27-django18,
py27-django19,
py27-django110,
py27-django111, py27-django111,
py34-django18, py27-django20,
py34-django19,
py34-django110,
py34-django111, py34-django111,
py35-django18, py34-django20,
py35-django19,
py35-django110,
py35-django111, py35-django111,
py36-django18, py35-django20,
py36-django19,
py36-django110,
py36-django111, py36-django111,
py37-dev-django18, py36-django20,
py37-dev-django19,
py37-dev-django110,
py37-dev-django111, py37-dev-django111,
pypy-django18, py37-dev-django20,
pypy-django19,
pypy-django110,
pypy-django111, pypy-django111,
pypy-django20,
report report
skip_missing_interpreters = true skip_missing_interpreters = true
...@@ -34,10 +22,8 @@ setenv = ...@@ -34,10 +22,8 @@ setenv =
PYTHONUNBUFFERED=yes PYTHONUNBUFFERED=yes
commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests} commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests}
deps = 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 django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
-r{toxinidir}/requirements/test.txt -r{toxinidir}/requirements/test.txt
passenv = * passenv = *
usedevelop = false usedevelop = false
...@@ -46,7 +32,7 @@ whitelist_externals = tox ...@@ -46,7 +32,7 @@ whitelist_externals = tox
[testenv:test] [testenv:test]
description = Run all the Python/Django test environments. description = Run all the Python/Django test environments.
skip_install = true 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 tox -e report
[testenv:dtest] [testenv:dtest]
...@@ -54,7 +40,7 @@ description = Run all the Python/Django test environments in parallel. ...@@ -54,7 +40,7 @@ description = Run all the Python/Django test environments in parallel.
skip_install = true skip_install = true
deps = detox deps = detox
commands = 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 tox -e report
[testenv:detox] [testenv:detox]
...@@ -62,7 +48,7 @@ description = Run all the environments in parallel. ...@@ -62,7 +48,7 @@ description = Run all the environments in parallel.
skip_install = true skip_install = true
deps = detox deps = detox
commands = 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 tox -e report
[testenv:check] [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