Skip to content

Commit

Permalink
Update the versions for travis
Browse files Browse the repository at this point in the history
* Removed no longer supported version of Django (1.6, 1.7, 1.9, 1.10) 1.11 is LTS
* Added Django 2.0.7 explicitly
* Removed Python 3.5, kept 3.6 and added 3.7
* To support those changes, updated the matrix.exclude section to match.
* Removed all allow_failures which seems to be a holdover from a previous
age where py3 was not well supported.
  • Loading branch information
w7pea committed Jul 30, 2018
1 parent f6bdd2f commit 5df432b
Showing 1 changed file with 10 additions and 61 deletions.
71 changes: 10 additions & 61 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ language: python

python:
- 2.7
- 3.5
- 3.6
- 3.7

addons:
postgresql: 9.6
Expand All @@ -14,77 +14,26 @@ addons:

env:
matrix:
- DJANGO_VERSION=1.6.11 DATABASE=postgres
- DJANGO_VERSION=1.6.11 DATABASE=sqlite
- DJANGO_VERSION=1.7.11 DATABASE=postgres
- DJANGO_VERSION=1.7.11 DATABASE=sqlite
- DJANGO_VERSION=1.8.18 DATABASE=postgres
- DJANGO_VERSION=1.8.18 DATABASE=sqlite
- DJANGO_VERSION=1.9.13 DATABASE=postgres
- DJANGO_VERSION=1.9.13 DATABASE=sqlite
- DJANGO_VERSION=1.10.8 DATABASE=postgres
- DJANGO_VERSION=1.10.8 DATABASE=sqlite
- DJANGO_VERSION=1.11.7 DATABASE=postgres
- DJANGO_VERSION=1.11.7 DATABASE=sqlite
- DJANGO_VERSION=1.11.14 DATABASE=postgres
- DJANGO_VERSION=1.11.14 DATABASE=sqlite
- DJANGO_VERSION=2.0.7 DATABASE=postgres
- DJANGO_VERSION=2.0.7 DATABASE=sqlite
- DJANGO_VERSION=dev DATABASE=postgres
- DJANGO_VERSION=dev DATABASE=sqlite

matrix:
exclude:
- python: 3.5
env: DJANGO_VERSION=1.6.11 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=1.6.11 DATABASE=postgres
- python: 3.5
env: DJANGO_VERSION=1.7.11 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=1.7.11 DATABASE=postgres
- python: 3.5
env: DJANGO_VERSION=1.8.18 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=1.9.13 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=1.10.8 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=1.11.7 DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=dev DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.6.11 DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.6.11 DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=1.7.11 DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.7.11 DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=1.8.18 DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.8.18 DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=1.9.13 DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.9.13 DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=1.10.8 DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=1.10.8 DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=1.11.7 DATABASE=sqlite
- python: 2.7
env: DJANGO_VERSION=2.0.7 DATABASE=sqlite
- python: 2.7
env: DJANGO_VERSION=2.0.7 DATABASE=postgres
- python: 2.7
env: DJANGO_VERSION=dev DATABASE=sqlite
- python: 2.7
env: DJANGO_VERSION=dev DATABASE=postgres

allow_failures:
- python: 3.5
env: DJANGO_VERSION=dev DATABASE=sqlite
- python: 3.5
env: DJANGO_VERSION=dev DATABASE=postgres
- python: 3.6
env: DJANGO_VERSION=dev DATABASE=sqlite
- python: 3.6
env: DJANGO_VERSION=dev DATABASE=postgres


before_install:
- sudo apt-get update
Expand Down

0 comments on commit 5df432b

Please sign in to comment.