Skip to content

Commit

Permalink
Add python 3.8 to tox/travis (dj-stripe#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere authored Oct 24, 2019
1 parent fa4bd5d commit 04b8a05
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ matrix:
fast_finish: true

include:
# Only test postgres_native_json, mysql & sqlite vs latest python to reduce combinations
# Don't test postgres_native_json, mysql & sqlite vs all python versions to reduce combinations
- { python: "3.5", env: TOXENV=py35-django21-postgres }
- { python: "3.5", env: TOXENV=py35-django22-postgres }

- { python: "3.6", env: TOXENV=py36-django21-postgres }
- { python: "3.6", env: TOXENV=py36-django22-postgres }
- { python: "3.6", env: TOXENV=py36-django30-postgres }

- { python: "3.7", env: TOXENV=py37-django21-postgres }
- { python: "3.7", env: TOXENV=py37-django21-postgres_native_json }
- { python: "3.7", env: TOXENV=py37-django21-mysql }
Expand All @@ -30,6 +32,10 @@ matrix:
- { python: "3.7", env: TOXENV=py37-django30-mysql }
- { python: "3.7", env: TOXENV=py37-django30-sqlite }
- { python: "3.7", env: TOXENV=py37-djangomaster-postgres }

- { python: "3.8", env: TOXENV=py38-django22-postgres }
- { python: "3.8", env: TOXENV=py38-django30-postgres }

- { python: "3.7", env: TOXENV=checkmigrations }
- { python: "3.7", env: TOXENV=lint }
- { python: "3.7", env: TOXENV=docs }
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ History

- Changed ``JSONField`` dependency package from `jsonfield`_ to `jsonfield2`_, for Django 3 compatibility (see `Warning about safe uninstall of jsonfield on upgrade`_).
- Added support for Django 3.0 (requires jsonfield2>=3.0.3).
- Added support for python 3.8.
- Dropped previously-deprecated ``Account`` fields (see https://stripe.com/docs/upgrades#2019-02-19 ):
- ``.business_name``
- ``.business_primary_color``
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Framework :: Django
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
py35-django{21,22}-{postgres,postgres_native_json,mysql,sqlite}
py36-django{21,22,30}-{postgres,postgres_native_json,mysql,sqlite}
py37-django{21,22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py38-django{22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py37-django22-checkmigrations
lint

Expand Down

0 comments on commit 04b8a05

Please sign in to comment.