Skip to content

Commit 53293f0

Browse files
authored
Merge pull request #311 from kevin-brown/travis-matrix
Update Travis CI matrix
2 parents 269cc0d + 836f275 commit 53293f0

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

.travis.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
language: python
2+
dist: xenial
3+
sudo: false
4+
5+
python:
6+
- 2.7
7+
- 3.5
8+
- 3.6
9+
- 3.7
210

311
install:
4-
- pip install tox coveralls
5-
matrix:
6-
include:
7-
- python: 2.7
8-
env:
9-
- ENV=docs
10-
- python: 2.7
11-
env:
12-
- ENV=py27-django111
13-
- python: 3.5
14-
env:
15-
- ENV=py35-django111,py35-django20,py35-django21
16-
- python: 3.6
17-
env:
18-
- ENV=py36-django111,py36-django20,py36-django21
12+
- pip install tox tox-travis coveralls
1913
script:
20-
- tox -e $ENV
14+
- tox
2115
after_success:
2216
- coveralls

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
'Programming Language :: Python :: 3',
3737
'Programming Language :: Python :: 3.5',
3838
'Programming Language :: Python :: 3.6',
39+
'Programming Language :: Python :: 3.7',
3940
'Topic :: Internet :: WWW/HTTP',
4041
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
4142
],

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[tox]
22
envlist=
3-
docs,
3+
py27-docs,
44
py27-django{111},
55
py35-django{111,20,21},
66
py36-django{111,20,21},
7+
py37-django{111,20,21},
78

89
[testenv]
910
changedir=
@@ -22,8 +23,7 @@ deps =
2223
commands =
2324
pytest --flake8 --cov=oidc_provider {posargs}
2425

25-
[testenv:docs]
26-
basepython = python2.7
26+
[testenv:py27-docs]
2727
changedir = docs
2828
whitelist_externals =
2929
mkdir

0 commit comments

Comments
 (0)