Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 768ae5e

Browse filesBrowse files
authored
travis: Add test for Django 2.2 (PyMySQL#407)
1 parent 8649188 commit 768ae5e
Copy full SHA for 768ae5e

File tree

Expand file treeCollapse file tree

1 file changed

+16
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-7
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+16-7Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,17 @@ after_success:
3737

3838
matrix:
3939
include:
40-
- &django_py3
40+
- &django_1_11
4141
name: "Django 1.11 test (Python 3.7)"
42-
python: "3.7"
42+
env:
43+
- DJANGO_VERSION=1.11.26
44+
python: "3.5"
4345
install:
4446
- pip install -U pip
45-
- wget https://github.com/django/django/archive/1.11.18.tar.gz
46-
- tar xf 1.11.18.tar.gz
47-
- pip install django-1.11.18/
48-
- cp ci/test_mysql.py django-1.11.18/tests/
47+
- wget https://github.com/django/django/archive/${DJANGO_VERSION}.tar.gz
48+
- tar xf ${DJANGO_VERSION}.tar.gz
49+
- pip install django-${DJANGO_VERSION}/
50+
- cp ci/test_mysql.py django-${DJANGO_VERSION}/tests/
4951
- pip install .
5052

5153
before_script:
@@ -54,7 +56,14 @@ matrix:
5456
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
5557

5658
script:
57-
- cd django-1.11.18/tests/
59+
- cd django-${DJANGO_VERSION}/tests/
5860
- ./runtests.py --parallel=1 --settings=test_mysql
5961

62+
- &django_2_2
63+
<<: *django_py27
64+
name: "Django 2.2 test (Python 3.8)"
65+
python: "3.8"
66+
env:
67+
- DJANGO_VERSION=2.2.7
68+
6069
# vim: sw=2 ts=2 sts=2

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.