-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
38 lines (38 loc) · 870 Bytes
/
.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
dist: xenial
sudo: false
language: python
cache: pip
python:
- 3.5
- 3.6
- 3.7
- 3.8
- pypy3.5
env:
- DJANGO_VERSION=1.11
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2
- DJANGO_VERSION=3.0
- DJANGO_VERSION=3.1
- DJANGO_VERSION='latest'
matrix:
include:
# 1.11 is the last Django version to support python 2.7
- python: 2.7
env: DJANGO_VERSION=1.11
exclude:
- python: 3.5
env: DJANGO_VERSION=3.0
- python: 3.5
env: DJANGO_VERSION=3.1
- python: pypy3.5
env: DJANGO_VERSION=3.0
- python: pypy3.5
env: DJANGO_VERSION=3.1
install:
- pip install -r requirements.txt
- if [[ $DJANGO_VERSION != 'latest' ]]; then pip install django==$DJANGO_VERSION; fi
script:
- python setup.py nosetests
after_success:
- coveralls