Skip to content

Commit 1f8974c

Browse files
author
Ross Mechanic
authored
Added Python 3.7 to testing matrix (#494)
* Added Python 3.7 to testing matrix * Fixed travis syntax * Dealing with Travis not supporting 3.7 * Get 3.7 on all envs
1 parent e7ea410 commit 1f8974c

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ install:
1818
- pip install -U flake8==3.6.0
1919
- pip install -U $DJANGO
2020
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install black; fi
21+
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pip install black; fi
2122
- pip freeze
2223

2324
script:
2425
- flake8 simple_history
2526
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then black --check simple_history; fi
27+
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then black --check simple_history; fi
2628
- coverage run setup.py test
2729

2830
matrix:
@@ -33,5 +35,18 @@ matrix:
3335
env: DJANGO="Django>=2.1,<2.2"
3436
- python: 3.4
3537
env: DJANGO="Django>=2.1,<2.2"
38+
include:
39+
- python: 3.7
40+
env: DJANGO="Django>=1.11,<1.12"
41+
dist: xenial
42+
sudo: true
43+
- python: 3.7
44+
env: DJANGO="Django>=2.0,<2.1"
45+
dist: xenial
46+
sudo: true
47+
- python: 3.7
48+
env: DJANGO="Django>=2.1,<2.2"
49+
dist: xenial
50+
sudo: true
3651

3752
after_success: codecov

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ django-simple-history stores Django model state on every create/update/delete.
3030

3131
This app supports the following combinations of Django and Python:
3232

33-
========== ==================
33+
========== =======================
3434
Django Python
35-
========== ==================
36-
1.11 2.7, 3.4, 3.5, 3.6
37-
2.0 3.4, 3.5, 3.6
38-
2.1 3.5, 3.6
39-
========== ==================
35+
========== =======================
36+
1.11 2.7, 3.4, 3.5, 3.6, 3.7
37+
2.0 3.4, 3.5, 3.6, 3.7
38+
2.1 3.5, 3.6, 3.7
39+
========== =======================
4040

4141
Getting Help
4242
------------

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'Programming Language :: Python :: 3.4',
3535
'Programming Language :: Python :: 3.5',
3636
'Programming Language :: Python :: 3.6',
37+
'Programming Language :: Python :: 3.7',
3738
"License :: OSI Approved :: BSD License",
3839
],
3940
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36}-django111,
4-
py{34,35,36}-django20,
5-
py{35,36}-django21,
6-
py{35,36}-djangotrunk,
3+
py{27,34,35,36,37}-django111,
4+
py{34,35,36,37}-django20,
5+
py{35,36,37}-django21,
6+
py{35,36,37}-djangotrunk,
77
docs, flake8
88

99

0 commit comments

Comments
 (0)