This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
/
.travis.yml
87 lines (79 loc) · 2.81 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
language: python
sudo: required
dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
# - "nightly" Fails irregularly
# - "pypy" Unable to install requirements
# - "pypy3" Unable to install requirements
env:
matrix:
- DJANGO="Django<1.3"
- DJANGO="Django<1.4"
- DJANGO="Django<1.5"
- DJANGO="Django<1.6"
- DJANGO="Django<1.7"
- DJANGO="Django<1.8"
- DJANGO="Django<1.9"
- DJANGO="Django<1.10"
- DJANGO="Django<1.11"
- DJANGO="Django<2.0"
- DJANGO="Django<3.0" # Covers all of 2.x
install:
- pip install "pip<8.0.0" wheel
- pip install "$DJANGO"
- pip install -r test-requirements.txt
cache:
directories:
- $HOME/.cache/pip
matrix:
exclude:
# Python 3.7 is supported as of django 2.0
- {python: "3.7", env: DJANGO="Django<1.3"}
- {python: "3.7", env: DJANGO="Django<1.4"}
- {python: "3.7", env: DJANGO="Django<1.5"}
- {python: "3.7", env: DJANGO="Django<1.6"}
- {python: "3.7", env: DJANGO="Django<1.7"}
- {python: "3.7", env: DJANGO="Django<1.8"}
- {python: "3.7", env: DJANGO="Django<1.9"}
- {python: "3.7", env: DJANGO="Django<1.10"}
- {python: "3.7", env: DJANGO="Django<1.11"}
- {python: "3.7", env: DJANGO="Django<2.0"}
# Python 3.6 is supported as of django 1.8
- {python: "3.6", env: DJANGO="Django<1.3"}
- {python: "3.6", env: DJANGO="Django<1.4"}
- {python: "3.6", env: DJANGO="Django<1.5"}
- {python: "3.6", env: DJANGO="Django<1.6"}
- {python: "3.6", env: DJANGO="Django<1.7"}
- {python: "3.6", env: DJANGO="Django<1.8"}
# Python 3.5 is supported as of django 1.8
- {python: "3.5", env: DJANGO="Django<1.3"}
- {python: "3.5", env: DJANGO="Django<1.4"}
- {python: "3.5", env: DJANGO="Django<1.5"}
- {python: "3.5", env: DJANGO="Django<1.6"}
- {python: "3.5", env: DJANGO="Django<1.7"}
- {python: "3.5", env: DJANGO="Django<1.8"}
# Python 3.4 is supported as of django 1.5, but dropped by 2.0+
- {python: "3.4", env: DJANGO="Django<1.3"}
- {python: "3.4", env: DJANGO="Django<1.4"}
- {python: "3.4", env: DJANGO="Django<1.5"}
- {python: "3.4", env: DJANGO="Django<1.6"}
- {python: "3.4", env: DJANGO="Django<2.0"}
- {python: "3.4", env: DJANGO="Django<3.0"}
# Python 2.7 is supported up until django 2.0
- {python: "2.7", env: DJANGO="Django<2.0"}
- {python: "2.7", env: DJANGO="Django<3.0"}
# Python 2.6 is supported up until django 1.7
- {python: "2.6", env: DJANGO="Django<1.8"}
- {python: "2.6", env: DJANGO="Django<1.9"}
- {python: "2.6", env: DJANGO="Django<1.10"}
- {python: "2.6", env: DJANGO="Django<1.11"}
- {python: "2.6", env: DJANGO="Django<2.0"}
- {python: "2.6", env: DJANGO="Django<3.0"}
script: coverage run --source bootstrap_pagination ./run_tests.py
after_success:
- coverage report --fail-under=80