-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 1.21 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
# Ubuntu 14.04 Trusty support
dist: trusty
os:
- linux
language: cpp
compiler:
- gcc
#- clang # disabled because opencv_ts segfaults with the use of clang (on travis ubuntu 14)
# e.g. *** Error in `./exec_name': double free or corruption (!prev): ...... ***
notifications:
email:
on_success: never
on_failure: always
env:
- QT_BASE=57
before_install:
- sudo apt-get -qq update
- if [ "$QT_BASE" = "57" ]; then sudo add-apt-repository ppa:beineri/opt-qt571-trusty -y; fi
install:
- sudo apt-get -qq update
- if [ "$QT_BASE" = "57" ]; then sudo apt-get install -qq qt57base qt57multimedia; source /opt/qt57/bin/qt57-env.sh; fi
- sudo apt-get install -qq mesa-common-dev
- sudo apt-get install -qq libgl1-mesa-dev
- sudo apt-get install -qq libgtk2.0-dev
- sudo apt-get install -qq pkg-config
- sudo apt-get install -qq libavcodec-dev
- sudo apt-get install -qq libavformat-dev
- sudo apt-get install -qq libswscale-dev
- sudo apt-get install -qq libv4l-dev
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DTESTS=ON -DQt5Multimedia_DIR="/opt/Qt/5.7/gcc_64/lib/cmake/Qt5Multimedia/"
- make all -j2
- make check