Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Django 2.2 and Python 3.7 #40

Merged
merged 5 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,30 @@ env:

matrix:
include:
# Django 2.2 requires SQLite 3.8.3+ which is not available on Ubuntu Trusty
# which is the default Ubuntu version on Travis CI. Run all Django 2.2+
# tests on Ubuntu Xenial instead.
- python: 3.5
env: TOXENV=py35-django22
dist: xenial
- python: 3.6
env: TOXENV=py36-django22
dist: xenial

# Python 3.7 on Travis CI is only available on Ubuntu Xenial.
- python: 3.7
env: TOXENV=py37-django22
dist: xenial
- python: 3.7
env: TOXENV=py37-django111
dist: xenial
- python: 3.7
env: TOXENV=py37-django20
dist: xenial
- python: 3.7
env: TOXENV=py37-django21
dist: xenial

- python: 3.6
env: TOXENV=py36-django111
- python: 3.6
Expand Down
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ django-bananas is on PyPI, so just run:

Currently tested only for

- Django 1.8-2.1 under Python 3.4-3.6
- Django 1.8-2.0 under Python 3.4
- Django 1.8-2.2 under Python 3.5
- Django 1.11-2.2 under Python 3.6-3.7

pull requests welcome!

Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

[tox]
envlist = py34-django{ 18, 19, 110, 111, 20 },
py35-django{ 18, 19, 110, 111, 20, 21 },
py36-django{ 111, 20, 21 }
py35-django{ 18, 19, 110, 111, 20, 21, 22 },
py36-django{ 111, 20, 21, 22 },
py37-django{ 111, 20, 21, 22 }


[testenv]
Expand All @@ -25,6 +26,7 @@ deps = django18: Django>=1.8,<1.9
django111: Django>=1.11,<1.12
django20: Django>=2.0b1,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
coverage
djangorestframework>=3.9.0,<4
django-cors-headers>=2.4.0,<3
Expand Down