Skip to content

Commit

Permalink
Add testing for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 25, 2019
1 parent 3f3a531 commit 74bb4b4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
43 changes: 23 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
dist: xenial
language: python
python: "3.6"
python: 3.7
sudo: false
cache: pip
env:
- TOXENV=py27-django111
- TOXENV=py34-django111
- TOXENV=py35-django111
- TOXENV=py36-django111
- TOXENV=py34-django20
- TOXENV=py35-django20
- TOXENV=py36-django20
- TOXENV=py35-django21
- TOXENV=py36-django21
- TOXENV=docs
- TOXENV=lint
matrix:
include:
- python: "3.5"
- python: 2.7
env: TOXENV=py27-django111
- python: 3.4
env: TOXENV=py34-django111
- python: 3.5
env: TOXENV=py35-django111
- python: "3.5"
- python: 3.6
env: TOXENV=py36-django111
- python: 3.7
env: TOXENV=py37-django111
- python: 3.4
env: TOXENV=py34-django20
- python: 3.5
env: TOXENV=py35-django20
- python: "3.5"
env: TOXENV=py35-django21
exclude:
- python: "3.6"
env: TOXENV=py35-django111
- python: "3.6"
env: TOXENV=py35-django20
- python: "3.6"
- python: 3.6
env: TOXENV=py36-django20
- python: 3.7
env: TOXENV=py37-django20
- python: 3.5
env: TOXENV=py35-django21
- python: 3.6
env: TOXENV=py36-django21
- python: 3.7
env: TOXENV=py37-django21
install:
- pip install tox
script:
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py34-django{111,20},
py35-django{111,20,21},
py36-django{111,20,21},
py37-django{111,20,21},
docs, lint

[testenv]
Expand All @@ -13,13 +14,14 @@ basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2

[testenv:docs]
basepython = python3.6
basepython = python3.7
changedir = docs
deps =
Sphinx
Expand All @@ -28,7 +30,7 @@ commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:lint]
basepython = python3.6
basepython = python3.7
deps =
flake8
commands =
Expand Down

0 comments on commit 74bb4b4

Please sign in to comment.