forked from loris-imageserver/loris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (21 loc) · 953 Bytes
/
.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
language: python
python: "2.7"
before_install:
- sudo apt-get install -qq libjpeg-turbo8 libjpeg-turbo8-dev libfreetype6
- sudo apt-get install -qq libfreetype6-dev zlib1g-dev liblcms2-2 liblcms2-dev
- sudo apt-get install -qq liblcms-utils libtiff-dev
- 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/
install:
- pip install -r requirements.txt --use-mirrors
script: "python ./test.py" # setup.py test checks for a loris user, which we only need for prod
notifications:
email:
recipients: "[email protected]"
on_success: "always"
on_failure: "always"
template:
- "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}"