Skip to content

Commit 2bda8ce

Browse files
committed
Add Django 3.1 to test matrix
1 parent e3a0758 commit 2bda8ce

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ matrix:
2121
env: TOXENV=py37-dj30-sqlite
2222
- python: 3.8
2323
env: TOXENV=py38-dj30-sqlite
24+
- python: 3.6
25+
env: TOXENV=py36-dj31-sqlite
26+
- python: 3.7
27+
env: TOXENV=py37-dj31-sqlite
28+
- python: 3.8
29+
env: TOXENV=py38-dj31-sqlite
2430
- python: 3.6
2531
env: TOXENV=py36-djmaster-sqlite
2632
- python: 3.7
@@ -35,6 +41,10 @@ matrix:
3541
env: TOXENV=py38-dj30-postgresql
3642
addons:
3743
postgresql: "9.5"
44+
- python: 3.8
45+
env: TOXENV=py38-dj31-postgresql
46+
addons:
47+
postgresql: "9.5"
3848
- python: 3.8
3949
env: TOXENV=py38-dj22-mariadb
4050
addons:
@@ -50,6 +60,10 @@ matrix:
5060
env: TOXENV=py38-dj30-mariadb
5161
addons:
5262
mariadb: "10.3"
63+
- python: 3.8
64+
env: TOXENV=py38-dj31-mariadb
65+
addons:
66+
mariadb: "10.3"
5367
script:
5468
# working around https://travis-ci.community/t/mariadb-build-error-with-xenial/3160
5569
- mysql -u root -e "DROP USER IF EXISTS 'travis'@'%';"

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ envlist =
55
style
66
readme
77
py{35,36,37,38}-dj22-sqlite
8-
py{36,37,38}-dj30-sqlite
8+
py{36,37,38}-dj{30,31}-sqlite
99
py{36,37,38}-djmaster-sqlite
10-
py{37,38}-dj{22,30}-{postgresql,mariadb}
10+
py{37,38}-dj{22,30,31}-{postgresql,mariadb}
1111

1212
[testenv]
1313
deps =
1414
dj22: Django==2.2.*
1515
dj30: Django==3.0.*
16+
dj31: Django==3.1.*
1617
sqlite: mock
1718
postgresql: psycopg2-binary
1819
mariadb: mysqlclient

0 commit comments

Comments
 (0)