Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
Added Python 3.7 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 25, 2019
1 parent fb87831 commit bf85823
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@ matrix:
env: TOXENV=py36-django-21
- python: 3.6
env: TOXENV=py36-django-master
- python: 3.7
env: TOXENV=py37-django-111
- python: 3.7
env: TOXENV=py37-django-20
- python: 3.7
env: TOXENV=py37-django-21
- python: 3.7
env: TOXENV=py37-django-master
allow_failures:
- env: TOXENV=py35-django-master
- env: TOXENV=py36-django-master
- env: TOXENV=py37-django-master
install:
- pip install tox
script:
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
History
=======

X.Y.Z (YYYY-MM-DD)
------------------

* Added testing for Python 3.7.

1.9.0 (2018-08-04)
------------------

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[tox]
envlist =
py{27,34,35,36}-django111
py{34,35,36}-django20
py{35,36}-django21
py{35,36}-master
py{27,34,35,36,37}-django111
py3{4,5,6,7}-django20
py3{5,6,7}-django21
py3{5,6,7}-master

[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
commands = {envpython} setup.py test
setenv=
PYTHONWARNINGS=default
Expand Down

0 comments on commit bf85823

Please sign in to comment.