Skip to content

Commit 7934a3b

Browse files
add Python 3.7 and Django 2.2/3.0 to the test matrix
1 parent 6e9fd52 commit 7934a3b

File tree

1 file changed

+37
-22
lines changed

1 file changed

+37
-22
lines changed

.travis.yml

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,67 @@ sudo: false
44
matrix:
55
include:
66
- python: 2.7
7-
env: DJANGO=1.8.*
7+
env: DJANGO="==1.8.*"
88
- python: 2.7
9-
env: DJANGO=1.9.*
9+
env: DJANGO="==1.9.*"
1010
- python: 2.7
11-
env: DJANGO=1.10.*
11+
env: DJANGO="==1.10.*"
1212
- python: 2.7
13-
env: DJANGO=1.11.*
13+
env: DJANGO="==1.11.*"
1414

1515
- python: 3.4
16-
env: DJANGO=1.8.*
16+
env: DJANGO="==1.8.*"
1717
- python: 3.4
18-
env: DJANGO=1.9.*
18+
env: DJANGO="==1.9.*"
1919
- python: 3.4
20-
env: DJANGO=1.10.*
20+
env: DJANGO="==1.10.*"
2121
- python: 3.4
22-
env: DJANGO=1.11.*
22+
env: DJANGO="==1.11.*"
2323

2424
- python: 3.5
25-
env: DJANGO=1.8.*
25+
env: DJANGO="==1.8.*"
2626
- python: 3.5
27-
env: DJANGO=1.9.*
27+
env: DJANGO="==1.9.*"
2828
- python: 3.5
29-
env: DJANGO=1.10.*
29+
env: DJANGO="==1.10.*"
3030
- python: 3.5
31-
env: DJANGO=1.11.*
31+
env: DJANGO="==1.11.*"
3232
- python: 3.5
33-
env: DJANGO=2.0.*
33+
env: DJANGO="==2.0.*"
3434
- python: 3.5
35-
env: DJANGO=2.1.*
35+
env: DJANGO="==2.1.*"
36+
- python: 3.5
37+
env: DJANGO="==2.2.*"
3638

3739
- python: 3.6
38-
env: DJANGO=1.8.*
40+
env: DJANGO="==1.8.*"
41+
- python: 3.6
42+
env: DJANGO="==1.9.*"
3943
- python: 3.6
40-
env: DJANGO=1.9.*
44+
env: DJANGO="==1.10.*"
4145
- python: 3.6
42-
env: DJANGO=1.10.*
46+
env: DJANGO="==1.11.*"
4347
- python: 3.6
44-
env: DJANGO=1.11.*
48+
env: DJANGO="==2.0.*"
4549
- python: 3.6
46-
env: DJANGO=2.0.*
50+
env: DJANGO="==2.1.*"
4751
- python: 3.6
48-
env: DJANGO=2.1.*
52+
env: DJANGO="==2.2.*"
53+
- python: 3.6
54+
env: DJANGO=">=3.0a1,<3.1"
55+
56+
- python: 3.7
57+
env: DJANGO="==2.0.*"
58+
- python: 3.7
59+
env: DJANGO="==2.1.*"
60+
- python: 3.7
61+
env: DJANGO="==2.2.*"
62+
- python: 3.7
63+
env: DJANGO=">=3.0a1,<3.1"
4964

5065
- os: osx
5166
language: generic
52-
env: DJANGO=1.10.*
67+
env: DJANGO="==1.10.*"
5368

5469
# Perform the manual steps on OSX to install Python3 and activate venv:
5570
# Since Python versions have been tested on Linux and it is only a matter of
@@ -60,7 +75,7 @@ before_install:
6075
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source env/bin/activate ; fi
6176

6277
install:
63-
- pip install -q Django==$DJANGO
78+
- pip install -q django$DJANGO
6479
- python setup.py install
6580

6681
script: python runtests.py

0 commit comments

Comments
 (0)