This repository has been archived by the owner on Jun 5, 2018. It is now read-only.
forked from ericflo/django-pagination
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
68 lines (68 loc) · 1.98 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
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO_VERSION=1.2
- DJANGO_VERSION=1.3
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.5
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.9
install:
- pip install 'coverage<4' # coverage>=4 has issues with python3
- pip install -q Django==$DJANGO_VERSION coveralls flake8
- python setup.py egg_info
before_script: flake8
script: coverage run --source='linaro_django_pagination' --omit *runner*,*test_project* setup.py test
after_success:
- coveralls
matrix:
include:
- python: "2.6"
env: DJANGO_VERSION=1.4
- python: "2.6"
env: DJANGO_VERSION=1.5
- python: "2.6"
env: DJANGO_VERSION=1.6
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.2 # Unsupported
- python: "3.2"
env: DJANGO_VERSION=1.3 # Unsupported
- python: "3.2"
env: DJANGO_VERSION=1.4 # Unsupported
- python: "3.2"
env: DJANGO_VERSION=1.9 # Unsupported
- python: "3.3"
env: DJANGO_VERSION=1.9 # ImportError: cannot import name find_spec
- python: "3.3"
env: DJANGO_VERSION=1.2 # Unsupported
- python: "3.3"
env: DJANGO_VERSION=1.3 # Unsupported
- python: "3.3"
env: DJANGO_VERSION=1.4 # Unsupported
- python: "3.4"
env: DJANGO_VERSION=1.2 # Unsupported
- python: "3.4"
env: DJANGO_VERSION=1.3 # Unsupported
- python: "3.4"
env: DJANGO_VERSION=1.4 # Unsupported
- python: "3.5"
env: DJANGO_VERSION=1.2 # Unsupported
- python: "3.5"
env: DJANGO_VERSION=1.3 # Unsupported
- python: "3.5"
env: DJANGO_VERSION=1.4 # Unsupported
- python: "3.5"
env: DJANGO_VERSION=1.5 # Unsupported
- python: "3.5"
env: DJANGO_VERSION=1.7 # AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
- python: "3.5"
env: DJANGO_VERSION=1.6 # AttributeError: module 'html.parser' has no attribute 'HTMLParseError'