Skip to content

Commit

Permalink
Enable travis stages and disable building apps for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Jun 25, 2017
1 parent 8af8538 commit 92d3fd7
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 54 deletions.
18 changes: 4 additions & 14 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ function build_examples ()
-DBUILD_examples=ON \
-DBUILD_tools=OFF \
-DBUILD_apps=OFF \
-DBUILD_apps_3d_rec_framework=OFF \
-DBUILD_apps_cloud_composer=OFF \
-DBUILD_apps_in_hand_scanner=OFF \
-DBUILD_apps_modeler=OFF \
-DBUILD_apps_optronic_viewer=OFF \
-DBUILD_apps_point_cloud_editor=OFF \
$PCL_DIR
# Build
make -j2
Expand All @@ -96,12 +90,6 @@ function build_tools ()
-DBUILD_examples=OFF \
-DBUILD_tools=ON \
-DBUILD_apps=OFF \
-DBUILD_apps_3d_rec_framework=OFF \
-DBUILD_apps_cloud_composer=OFF \
-DBUILD_apps_in_hand_scanner=OFF \
-DBUILD_apps_modeler=OFF \
-DBUILD_apps_optronic_viewer=OFF \
-DBUILD_apps_point_cloud_editor=OFF \
$PCL_DIR
# Build
make -j2
Expand All @@ -115,7 +103,9 @@ function build_apps ()
cmake -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS" -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
-DPCL_ONLY_CORE_POINT_TYPES=ON \
-DPCL_QT_VERSION=4 \
-DBUILD_simulation=ON \
-DBUILD_simulation=OFF \
-DBUILD_outofcore=OFF \
-DBUILD_people=OFF \
-DBUILD_global_tests=OFF \
-DBUILD_examples=OFF \
-DBUILD_tools=OFF \
Expand All @@ -124,7 +114,7 @@ function build_apps ()
-DBUILD_apps_cloud_composer=ON \
-DBUILD_apps_in_hand_scanner=ON \
-DBUILD_apps_modeler=ON \
-DBUILD_apps_optronic_viewer=ON \
-DBUILD_apps_optronic_viewer=OFF \
-DBUILD_apps_point_cloud_editor=ON \
$PCL_DIR
# Build
Expand Down
92 changes: 52 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
sudo: required
language: cpp
compiler:
- gcc
- clang
cache:
ccache: true
addons:
apt:
sources:
- kalakris-cmake
- boost-latest
- kubuntu-backports
- sourceline: 'ppa:kedazo/doxygen-updates-precise'
- sourceline: 'ppa:v-launchpad-jochen-sprickerhof-de/pcl'
packages:
- cmake
- libboost1.55-all-dev
- libeigen3-dev
- libgtest-dev
- doxygen-latex
- dvipng
- libusb-1.0-0-dev
- libqhull-dev
- libvtk5-dev
- libflann-dev
- doxygen
- libqt4-dev
- libqt4-opengl-dev
- libvtk5-qt4-dev
- libglew-dev
- libopenni-dev
before_install:
- bash .travis.sh before-install

env:
matrix:
- TASK="build"
global:
- secure: XQw5SBf/7b1SHFR+kKklBWhWVgNvm4vIi+wwyajFSbDLOPpsAqtnDKeA2DV9ciaQJ3CVAvBoyxYgzAvpbsb5k95jadbvu9aSlo/AQnAbz+8DhkJL25DwJAn8G4s4zD1MFi7P4fxJHZsv/l9UcdW4BzjEhh0VidWCO4hP6I9BAQc=
- secure: dRKTSeQI2Jad+/K9XCkNZxuu8exPi2wGzf6D0ogd1Nb2ZIUsOtnHSME4DO+xv7F5ZYrythHTrfezQl5hhcK+cr7A12okxlvmF/gVFuGCBPkUbyWPOrxx/Ic5pqdVnmrMFG1hFmr1KmOxCVx0F48JfGNd4ZgtUBAmnIomRp8sXRI=
Expand All @@ -30,48 +55,35 @@ env:
- secure: WTZ238yAEfXRyll1n8yau3FUW9HTvq6scKIl9AmNZrnzTr9dktupWrBVV6CtvaufT1mSmDigZ7VGC6T71HkyRIyb2qfVTrnjnxE96Wtcci6PfkuQc2L2puuZYo8dXaBRoOgJKGHFo/uKVKWnp7t55dp3lBJJmclHhon+K2hMSJw=
- secure: LNsNoBvqY/jYDoBjWCE5cM+f1H8xOwSBc/tbWZo6E/jPRjUOLzXSicMMUMrlVto+bFzSUT8OVajV3XmoRx+Qntzv6bDSAGjdycvHd2YZQPn8BYrsFtR4So7SsJkF9FlxzbiOXaiSRpwGn7TP/DO7Neubrr4IS2ef4nWowGrnCE8=
- secure: PZivWbaCWFA2BFFY8n3UMxdEWjz7rBh568u9LF5LH3HgWADnfiwWzNriACqX9fhe7tSmDru5Bk978s+xPPAY9v24cfiDEX5a5MQ/XVr2rP48n3vlUDWERDhIodJ73F9F9GGZXToGdNz0MBUAHgiv7Lb0GYUfmOYzUJjWghngLBw=
matrix:

jobs:
include:
- compiler: clang
- stage: Core Build
env: TASK="build"
compiler: gcc
script: bash .travis.sh $TASK
- env: TASK="build"
compiler: clang
script: bash .travis.sh $TASK
- stage: Extended Build and Tests
compiler: clang
env: TASK="build-examples"
script: bash .travis.sh $TASK
- compiler: clang
env: TASK="build-tools"
- compiler: clang
env: TASK="build-apps"
script: bash .travis.sh $TASK
# - compiler: clang
# env: TASK="build-apps"
# script: bash .travis.sh $TASK
- compiler: gcc
env: TASK="doc"
script: bash .travis.sh $TASK
- compiler: gcc
env: TASK="test-core"
script: bash .travis.sh $TASK
- compiler: gcc
env: TASK="test-ext-1"
script: bash .travis.sh $TASK
- compiler: gcc
env: TASK="test-ext-2"
- compiler: gcc
env: TASK="doc"
cache:
ccache: true
addons:
apt:
sources:
- kalakris-cmake
- boost-latest
- kubuntu-backports
- sourceline: 'ppa:kedazo/doxygen-updates-precise'
packages:
- cmake
- libboost1.55-all-dev
- libeigen3-dev
- libgtest-dev
- doxygen-latex
- dvipng
- libusb-1.0-0-dev
- libqhull-dev
- libvtk5-dev
- libflann-dev
- doxygen
- libqt4-dev
- libqt4-opengl-dev
- libvtk5-qt4-dev
- libglew-dev
before_install:
- bash .travis.sh before-install
script:
- bash .travis.sh $TASK
script: bash .travis.sh $TASK

0 comments on commit 92d3fd7

Please sign in to comment.