forked from obsproject/obs-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (44 loc) · 1.28 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
#
# Configuration for linux (ubuntu)
#
# Language choice
language: cpp
compiler:
# - clang
- gcc
before_install:
# add source of ppa
- sudo apt-add-repository ppa:sonkun/sfml-development -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-add-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-add-repository ppa:kalakris/cmake -y
- sudo apt-get update -qq
# Depency install
install:
# update gcc
#- apt-cache search g++
- sudo apt-get install -qq g++-4.8
# update cmake 2.8 to 2.11
- apt-cache search cmake
- sudo apt-get install cmake
# lib install
# opengl
- sudo apt-get install mesa-common-dev
#glew
- sudo apt-get install libxrandr-dev libfreetype6-dev libglew1.5-dev
#ffmpeg
#for lucid ubuntu 10.02
#- sudo apt-get install libavcodec-unstripped-52 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-50 libpostproc-unstripped-51 libswscale-unstripped-0 ffmpeg
# for precise ubuntu 12.04
- sudo apt-get install libav-tools ffmpeg
#qt5
- sudo apt-get install qtdeclarative5-dev
#after_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
#define FFmpeg path to lib 32 and lib 64 ?
# Build
script : cd build/ && $CXX -v && cmake .. && make
#mkdir build &&
# Choose branchs
branches:
- master