forked from kaltura/nginx-vod-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.52 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
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y libssl-dev libpcre3-dev libxml2-dev wget unzip libopencore-amrwb0 libopencore-amrnb0 libass4 libgsm1 libmp3lame0 libopenjpeg2 libschroedinger-1.0-0 libspeex1 libtheora0 libva1 libvpx1 libxvidcore4 libnuma1 gcc-7
- wget http://installrepo.origin.kaltura.org/releases/kaltura-ffmpeg_amd64.deb
- wget http://installrepo.origin.kaltura.org/repo/apt/debian/pool/main/x/x264/libx264-148_0.148-1_amd64.deb
- wget http://installrepo.origin.kaltura.org/repo/apt/debian/pool/main/x/x265/libx265-87_2.0-4_amd64.deb
- wget http://installrepo.kaltura.org/releases/kaltura-ffmpeg-deb-deps/libvdpau1_0.4.1-3ubuntu1.2_amd64.deb
- wget http://installrepo.kaltura.org/releases/kaltura-ffmpeg-deb-deps/libfdk-aac0_0.1.3-1_amd64.deb
- sudo dpkg -i libfdk-aac0_0.1.3-1_amd64.deb
- sudo dpkg -i libx264-148_0.148-1_amd64.deb
- sudo dpkg -i libx265-87_2.0-4_amd64.deb
- sudo dpkg -i libvdpau1_0.4.1-3ubuntu1.2_amd64.deb
- sudo dpkg -i kaltura-ffmpeg_amd64.deb
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 20
language: c
compiler:
- clang
- gcc
dist: trusty
env:
- NGX_VOD_MODULE=--add-module=./nginx-vod-module
- NGX_VOD_MODULE=--add-dynamic-module=./nginx-vod-module
script: ./travis_build.sh $NGX_VOD_MODULE
notifications:
email:
recipients:
on_success: change
on_failure: always