-
Notifications
You must be signed in to change notification settings - Fork 81
/
.travis.yml
44 lines (39 loc) · 951 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
39
40
41
42
43
44
language: python
python:
- "2.7"
- "3.4"
- "3.5"
before_install:
- export PIP_USE_MIRRORS=true
install:
- pip install -e .
- pip install -r requirements/tests.txt Django==$DJANGO
before_script:
- flake8 --ignore=E402,E731,F401,F811 --exclude=migrations dbmail
script:
- make test
- make coverage
env:
- DJANGO=2.1
- DJANGO=2.0
- DJANGO=1.8
- DJANGO=1.11
matrix:
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
include:
- { python: "3.6", env: DJANGO=1.11 }
- { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=2.1 }
- { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true }
exclude:
- python: "2.7"
env: "DJANGO=2.0"
- python: "2.7"
env: "DJANGO=2.1"
- python: "3.4"
env: "DJANGO=2.1"
branches:
only:
- master
- development