-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
79 lines (76 loc) · 2.27 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
68
69
70
71
72
73
74
75
76
77
78
79
language: cpp
sudo: required
dist: trusty
addons:
apt:
sources:
# add PPAs with more up-to-date toolchains
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
# install toolchains
- gcc-5
- g++-5
- clang-3.6
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: COMPILER=clang++-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: COMPILER=clang++-3.7
before_install:
- |
sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get -yqq install freeglut3
sudo apt-get -yqq install freeglut3-dev
sudo apt-get -yqq install binutils-gold
sudo apt-get -yqq install libglew-dev
sudo apt-get -yqq install mesa-common-dev
sudo apt-get -yqq install build-essential
sudo apt-get -yqq install libglew1.5-dev
sudo apt-get -yqq install libglm-dev
sudo apt-get -yqq install mesa-utils-extra
sudo apt-get -yqq install libgl1-mesa-dev
sudo apt-get -yqq install libglapi-mesa
wget -q https://cmake.org/files/v3.6/cmake-3.6.3-Linux-x86_64.sh
sh cmake-3.6.3-Linux-x86_64.sh --skip-license
sudo apt-get install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
sudo apt-get install qt5-default qttools5-dev-tools
script:
- mkdir build
- cd build
- ../bin/cmake -DBUILD_SUPERBUILD:BOOL=ON -DBUILD_TESTING:BOOL=ON -DBUILD_Boost:BOOL=ON -DBUILD_Python_Boost:BOOL=ON -DBUILD_Eigen:BOOL=ON -DBUILD_glog:BOOL=ON -DBUILD_gflags:BOOL=ON -DBUILD_VTK:BOOL=OFF -DBUILD_PCL:BOOL=OFF -DBUILD_OpenCV:BOOL=OFF ..
- make
- cd IMAGECAPTURE-build
- ctest .