forked from thumbor/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (43 loc) · 1.39 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
language: python
python:
- "2.7_with_system_site_packages"
- "3.2"
- "pypy"
cache: pip
matrix:
fast_finish: true
allow_failures:
- python: "3.2"
- python: "pypy"
env:
- INTEGRATION_TEST=1
- UNIT_TEST=1
install:
#removing unwanted packages
- sudo apt-get remove --purge -y $(< unwanted_packages)
# update aptitude
- sudo apt-get update -y
- sudo apt-get install aptitude -y
# install aptitude packages
- LDFLAGS=-lm sudo aptitude install -y $(< requirements)
- sudo apt-get autoremove -y
- df -h
# Install the latest ffmpeg release
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -O /tmp/ffmpeg-release.tar.xz
- mkdir /tmp/ffmpeg-release
- tar -C /tmp/ffmpeg-release --strip 1 -xvf /tmp/ffmpeg-release.tar.xz
- sudo ln -s /tmp/ffmpeg-release/ffmpeg /usr/local/bin/ffmpeg
- ffmpeg -version
# webp - compiling from source
# - wget "https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz" -O libwebp-0.4.0.tar.gz
# - tar xvzf libwebp-0.4.0.tar.gz
# - cd libwebp-0.4.0 && ./configure --enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder && make && sudo make install; cd ..
# - sudo ldconfig
# install python requirements
- make setup
before_script:
- make mongo
- make redis
script:
# finally run tests
- make ci_test