-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.travis.yml
61 lines (55 loc) · 1.34 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: python
# 3.7 available only on xenial with sudo as of 02062019
dist: xenial
sudo: true
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
env:
matrix:
- DJANGO=Django==2.1.5
- DJANGO=Django==2.0.10
- DJANGO=Django==1.11.18
- DJANGO=Django==1.10.8
- DJANGO=Django==1.9.13
- DJANGO=Django==1.8.19
- DJANGO=Django==1.7.11
- DJANGO=Django==1.6.11
install:
- pip install flake8 coverage coveralls $DJANGO freezegun
- pip install -e .
matrix:
exclude:
# python 3.7 supported by Django 1.11+ only
- python: "3.7"
env: DJANGO=Django==1.10.8
- python: "3.7"
env: DJANGO=Django==1.9.13
- python: "3.7"
env: DJANGO=Django==1.8.19
- python: "3.7"
env: DJANGO=Django==1.7.11
- python: "3.7"
env: DJANGO=Django==1.6.11
- python: "3.6"
env: DJANGO=Django==1.7.11
- python: "3.6"
env: DJANGO=Django==1.6.11
- python: "3.5"
env: DJANGO=Django==1.7.11
- python: "3.5"
env: DJANGO=Django==1.6.11
- python: "3.4"
env: DJANGO=Django==2.1.5
- python: "2.7"
env: DJANGO=Django==2.0.10
- python: "2.7"
env: DJANGO=Django==2.1.5
script:
- flake8 --max-line-length=100 --max-complexity=13 --statistics --benchmark django_slowtests
- coverage run setup.py test
- coverage report
after_success: coveralls