forked from ozonesecurity/ozonebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (60 loc) · 1.18 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
66
67
##
# 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
cache:
directories:
- externals/ffmpeg
install:
- cd externals/ffmpeg
- ./configure --enable-shared
- make -j `grep processor /proc/cpuinfo|wc -l`
- sudo make install
- sudo make install-libs
- cd ../dlib
- mkdir -p build
- cd build
- cmake ..
- sudo make install
script:
- export CXX="g++-5" CC="gcc-5"
- cd $TRAVIS_BUILD_DIR/server
- cmake -DOZ_EXAMPLES=ON .
- make
- sudo make install