forked from circlingthesun/cloudclean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 1.14 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
sudo: required
language: cpp
compiler:
- g++
services:
- docker
before_install:
- docker pull ubuntu:16.04
- docker run -t -i ubuntu /bin/bash
before_install:
- git submodule update --init --recursive
- sudo apt-get install gcc g++
- sudo apt-get install gcc g++ git libsvm-dev cmake libgomp1 libpng12-0 libqhull-dev libusb-1.0-0 libboost-all-dev qtbase5-dev mesa-common-dev libflann-dev libeigen3-dev
- git clone https://github.com/PointCloudLibrary/pcl.git
# Install pcl
- sudo apt-get install g++ cmake doxygen mpi-default-dev openmpi-bin openmpi-common libflann1 libflann-dev libeigen3-dev libboost-all-dev libqhull* libusb-dev libgtest-dev freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev libusb-1.0-0-dev
- sudo apt-get install libvtk5.8-qt4 libvtk5.8 libvtk5-dev qt-sdk
# - sudo apt-get install openjdk-7-jdk openjdk-7-jre
# - sudo apt-get install graphviz mono-complete
- mkdir pclbuild
- cd pclbuild
- cmake -DCMAKE_BUILD_TYPE=None -DBUILD_GPU=ON ../pcl
- make
- sudo sudo make install
- cd ..
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release .. && make -j2
# script: "bash -c ./build.sh"