-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
46 lines (44 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
- DJANGO="django>=3.0"
- DJANGO="django>=2.1,<2.2"
- DJANGO="django>=2.0,<2.1"
- DJANGO="django>=1.11.0,<1.11.40" # LTS-version, supported until April 2020
install:
- travis_retry pip install $DJANGO
- travis_retry pip install -q -e .
- travis_retry pip install -r requirements.txt
script:
- python runtests.py
matrix:
exclude:
# https://docs.djangoproject.com/en/dev/releases/1.11/#python-compatibility
# Django 1.11 requires Python 2.7 or 3.4/3.5.
# The Django 1.11 series is the last to support Python 2.
# Django 2.2.x series is the last to support Python 3.5.
# Django 3.0 supports Python 3.6, 3.7 and 3.8
- python: "2.7"
env: DJANGO="django>=3.0"
- python: "2.7"
env: DJANGO="django>=2.1,<2.2"
- python: "2.7"
env: DJANGO="django>=2.0,<2.1"
- python: "3.4"
env: DJANGO="django>=2.1,<2.2"
- python: "3.4"
env: DJANGO="django>=3.0"
- python: "3.5"
env: DJANGO="django>=3.0"
- python: "3.6"
env: DJANGO="django>=1.11.0,<1.11.40"
- python: "3.7"
env: DJANGO="django>=1.11.0,<1.11.40"
- python: "3.8"
env: DJANGO="django>=1.11.0,<1.11.40"