forked from thumbor/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (55 loc) · 1.31 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
language: python
python:
- 2.7
- 3.5
- 3.6
- pypy
cache:
pip: true
apt: true
sudo: required
matrix:
fast_finish: true
allow_failures:
- python: 3.5
- python: 3.6
- python: pypy
exclude:
- python: 3.5
env: LINT_TEST=1
- python: 3.6
env: LINT_TEST=1
- python: pypy
env: LINT_TEST=1
env:
- LINT_TEST=1
- INTEGRATION_TEST=1 run lint and unitest
- UNIT_TEST= run lint and unitest1
addons:
apt:
packages:
- libjpeg-progs
- libimage-exiftool-perl
- gifsicle
- python-all-dev
- scons
- libboost-python-dev
- libexiv2-dev
before_install:
- echo "deb http://archive.ubuntu.com/ubuntu zesty main universe" | sudo tee --append /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install ffmpeg -y -f
install:
- pip install --upgrade pip
- pip install -I https://github.com/escaped/pyexiv2/archive/69dd6448f9831bd826137b7519f9d797b23ab4ec.zip
- cd $TRAVIS_BUILD_DIR && make setup
- pip install coveralls
before_script:
- cd $TRAVIS_BUILD_DIR && make redis
script:
make compile_ext ci_test
notifications:
slack:
secure: Sf6TJa/H3mq+RGqpLwKNRpNw0YQKX3+5bt5e37CSs8rOC+SoFHVNr29QhbXFPwmqQuy9qKb0t5rzChDIIvXErywU2lEw3/JlQtCt1xLsoUfpBF8g8ldoy6ESO2j9Jj6Y/M/4RN2zN3AAd5gfXPrdLHa++eiRaiAXXU+9ZvtUxuc=
after_success:
coveralls