-
Notifications
You must be signed in to change notification settings - Fork 49
/
.travis.yml
67 lines (57 loc) · 1.16 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
57
58
59
60
61
62
63
64
65
###
# travis configuration for oZone
###
language: cpp
sudo: required
dist: trusty
compiler: gcc
notifications:
slack: ozonesecurity:G1nKPaoZHfRCvC6GjnvRUB2J
on_success: never
on_failure: always
branches:
only: master
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
packages:
- build-essential
- make
- git
- vim
- cmake
- libass-dev
- libfreetype6-dev
- libjpeg-dev
- libjpeg8
- libtheora-dev
- libtool
- libvorbis-dev
- pkg-config
- texinfo
- yasm
- zlib1g-dev
- libopenblas-dev
- liblapack-dev
- libatlas-base-dev
- g++-5
- gcc-5
- nasm
before_install:
# this is not present in travis' apt cache
- sudo apt-get -qq update
- sudo apt-get install -y libv4l-dev v4l-utils
cache:
directories:
- externals/ffmpeg
- externals/dlib
- externals/openh264
- externals/json
script:
- export CXX="g++-5" CC="gcc-5"
- mkdir -p ~/ozoneroot
- export INSTALLDIR=~/ozoneroot
- cd $TRAVIS_BUILD_DIR/
- ./ozone-build.sh