forked from loris-imageserver/loris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 1.03 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
sudo: false
addons:
apt:
packages:
- libjpeg-turbo8
- libjpeg-turbo8-dev
- libfreetype6
- libfreetype6-dev
- zlib1g-dev
- liblcms2-2
- liblcms2-dev
- liblcms-utils
- libtiff4-dev
- libwebp-dev
language: python
python:
- "2.7"
# before_install:
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/liblcms.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libtiff.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libwebp.so /usr/lib/
# - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libwebpdemux.so /usr/lib/
install:
- pip install -r requirements.txt
script: "python test.py"
notifications:
email:
recipients: "jpstroop@gmail.com"
on_success: "always"
on_failure: "always"
template:
- "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}"