forked from respondcreate/django-versatileimagefield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
106 lines (106 loc) · 4.19 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Send this build to the travis.ci container-based infrastructure
# which typically has more capacity than the open-source Linux pool
sudo: false
# Tell Travis you want a Python environment to test in
language: python
# List the versions of Python you'd like to test against
matrix:
include:
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=2.3.14
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=2.4.8
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.0.5
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.1.3
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.2.2
- python: "2.7"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.3.1
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.3.14
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.4.8
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.0.5
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.1.3
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.2.2
- python: "2.7"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.3.1
- python: "2.7"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.1.3
- python: "2.7"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.2.2
- python: "2.7"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.3.1
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=2.3.14
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=2.4.8
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.0.5
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.1.3
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.2.2
- python: "3.4"
env: DJANGO_VERSION=1.7.11 REST_FRAMEWORK_VERSION=3.3.1
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.3.14
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.4.8
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.0.5
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.1.3
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.2.2
- python: "3.4"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.3.1
- python: "3.4"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.1.3
- python: "3.4"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.2.2
- python: "3.4"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.3.1
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.3.14
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=2.4.8
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.0.5
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.1.3
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.2.2
- python: "3.5"
env: DJANGO_VERSION=1.8.12 REST_FRAMEWORK_VERSION=3.3.1
- python: "3.5"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.1.3
- python: "3.5"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.2.2
- python: "3.5"
env: DJANGO_VERSION=1.9.5 REST_FRAMEWORK_VERSION=3.3.1
before_install:
- export DJANGO_SETTINGS_MODULE=tests.test_settings
# Tell it the things it will need to install when it boots
install:
# Install the dependencies the app itself has
# which in this case I choose to keep in a requirements file
- pip install -e .
# Install whatever version of Django that's listed above
# Travis is currently working on
- pip install -q Django==$DJANGO_VERSION
- pip install djangorestframework==$REST_FRAMEWORK_VERSION
- pip install coveralls
- pip install flake8
# Tell Travis how to run the test script itself
script:
- flake8 versatileimagefield/
- coverage run --parallel-mode --source=versatileimagefield runtests.py
- coverage run --parallel-mode --source=versatileimagefield post_processor_runtests.py
- coverage combine
after_success: coveralls