Skip to content

Commit

Permalink
[#33] Drop support for dj<=2.1 and python<3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
javrasya committed Jan 31, 2021
1 parent 50da8e0 commit a185f3d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 28 deletions.
66 changes: 45 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,85 +2,109 @@ sudo: false
matrix:
include:
- language: python
python: "2.7"
python: "3.5"
cache: pip
env: TOXENV=py27-dj1.11
env: TOXENV=py35-dj2.2
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.5"
python: "3.6"
cache: pip
env: TOXENV=py35-dj1.11
env: TOXENV=py36-dj2.2
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.5"
python: "3.6"
cache: pip
env: TOXENV=py35-dj2.0
env: TOXENV=py36-dj3.0
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.5"
python: "3.6"
cache: pip
env: TOXENV=py35-dj2.1
env: TOXENV=py36-dj3.1
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.5"
python: "3.7"
cache: pip
env: TOXENV=py35-dj2.2
env: TOXENV=py37-dj2.2
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
python: "3.7"
cache: pip
env: TOXENV=py36-dj1.11
env: TOXENV=py37-dj3.0
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
python: "3.7"
cache: pip
env: TOXENV=py36-dj2.0
env: TOXENV=py37-dj3.1
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
python: "3.8"
cache: pip
env: TOXENV=py36-dj2.1
env: TOXENV=py38-dj2.2
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
python: "3.8"
cache: pip
env: TOXENV=py36-dj2.2
env: TOXENV=py38-dj3.0
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
python: "3.8"
cache: pip
env: TOXENV=py36-dj3.0
env: TOXENV=py38-dj3.1
install:
- pip install tox-travis
script:
- tox
- tox
- language: python
python: "3.9"
cache: pip
env: TOXENV=py39-dj2.2
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.9"
cache: pip
env: TOXENV=py39-dj3.0
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.9"
cache: pip
env: TOXENV=py39-dj3.1
install:
- pip install tox-travis
script:
- tox
- language: python
python: "3.6"
cache: pip
Expand Down
10 changes: 3 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
[tox]
envlist = {py27}-{dj1.11},
{py35}-{dj1.11,dj2.0,dj2.1,dj2.2},
{py36}-{dj1.11,dj2.0,dj2.1,dj2.2,dj3.0},
envlist = {py35}-{dj2.2},
{py36, py37, p6y38, py39}-{dj2.2, dj3.0, dj3.1}
cov

[testenv]
deps =
{py27}: whitenoise<5.0
pytest-django
pytest-cov
-rrequirements.txt
dj1.11: Django>=1.11,<1.12.0
dj2.0: Django>=2.0,<2.1.0
dj2.1: Django>=2.1,<2.2.0
dj2.2: Django>=2.2,<2.3.0
dj3.0: Django>=3.0,<3.1.0
dj3.1: Django>=3.1,<3.2.0
commands =
py.test --ds='test_settings' --junitxml=../junit-{envname}.xml

Expand Down

0 comments on commit a185f3d

Please sign in to comment.