-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
51 lines (44 loc) · 1.02 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
#install dependencies - VTK, PCL, EIGEN, FLANN, Qt, libLAS
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libvtk6-dev
- libeigen3-dev
- cmake
- libflann-dev
- qt5-default
- liblas-dev
- liblas-bin
- liblas3
- libboost-all-dev
# Enable C++ support
language: cpp
# Plaform
os: linux
#distribution
dist: xenial
# Compiler selection
compiler:
- gcc
install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
# install pcl from source
- mkdir ${TRAVIS_BUILD_DIR}/deps/pcl && mkdir ${TRAVIS_BUILD_DIR}/deps/pcl_build
- wget "https://codeload.github.com/janekT/pcl/zip/pointpicking" -O pcl.zip
- unzip pcl.zip -d ${TRAVIS_BUILD_DIR}/deps/pcl
- cd ${TRAVIS_BUILD_DIR}/deps/pcl_build
- cmake ${TRAVIS_BUILD_DIR}/deps/pcl/pcl-pointpicking
- make -d
- make install
# Go to the Root directory
- cd ..
- cd ..
# Build steps
script:
- mkdir build
- cd build
- cmake && make