forked from jazzband/sorl-thumbnail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
93 lines (74 loc) · 2.6 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
language: python
python:
- "2.7"
- "3.3"
env:
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=pil APT='libjpeg62 libjpeg62-dev zlib1g-dev'
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=imagemagick APT=imagemagick
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=graphicsmagick APT=graphicsmagick
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=wand APT=libmagickwand-dev PIP=wand
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=redis PIP=redis
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=pil APT='libjpeg62 libjpeg62-dev zlib1g-dev'
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=imagemagick APT=imagemagick
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=graphicsmagick APT=graphicsmagick
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=wand APT=libmagickwand-dev PIP=wand
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=redis PIP=redis
matrix:
include:
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=pil APT='libjpeg62 libjpeg62-dev zlib1g-dev'
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=imagemagick APT=imagemagick
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=graphicsmagick APT=graphicsmagick
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=wand APT=libmagickwand-dev PIP=wand
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=redis PIP=redis
- python: "2.7"
env:
- DJANGO_VERSION=">=1.4,<1.5" SETTINGS=pgmagick APT='libgraphicsmagick++-dev libboost-python-dev libboost-thread-dev'
- WHEEL=pgmagick-0.5.7-cp27-none-linux_x86_64.whl
- python: "2.7"
env:
- DJANGO_VERSION=">=1.5,<1.6" SETTINGS=pgmagick APT='libgraphicsmagick++-dev libboost-python-dev libboost-thread-dev'
- WHEEL=pgmagick-0.5.7-cp27-none-linux_x86_64.whl
- python: "2.7"
env:
- DJANGO_VERSION=">=1.6,<1.7" SETTINGS=pgmagick APT='libgraphicsmagick++-dev libboost-python-dev libboost-thread-dev'
- WHEEL=pgmagick-0.5.7-cp27-none-linux_x86_64.whl
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq $APT
after_failure:
- pip freeze
- cat /home/travis/.pip/pip.log
after_success:
- pip freeze
- coveralls
install:
- ./.travis.sh
script:
- cd tests && coverage run --source=sorl runtests.py --settings=settings.$SETTINGS
services:
- redis-server
branches:
only:
- master
notifications:
irc:
channels:
- "irc.freenode.org#sorl-thumbnail"
on_success: change
on_failure: change
webhooks:
urls:
- https://webhooks.gitter.im/e/b368c47d69637f9a01a0
on_success: change
on_failure: change
on_start: false # default: false