Skip to content
Snippets Groups Projects
Unverified Commit 877cad90 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #89 from jmirabel/refactoring

[travis] update CI.
parents 11ceff66 1f5d865c
No related branches found
No related tags found
No related merge requests found
...@@ -12,34 +12,80 @@ matrix: ...@@ -12,34 +12,80 @@ matrix:
env: BUILD_TYPE=Debug env: BUILD_TYPE=Debug
dist: trusty dist: trusty
compiler: g++ compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- name: "Xenial - Debug - g++" - name: "Xenial - Debug - g++"
env: BUILD_TYPE=Debug env: BUILD_TYPE=Debug
dist: xenial dist: xenial
compiler: g++ compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- name: "Xenial - Release - g++" - name: "Xenial - Release - g++"
env: BUILD_TYPE=Release env: BUILD_TYPE=Release
dist: xenial dist: xenial
compiler: g++ compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- name: "Xenial - Debug - clang" - name: "Xenial - Debug - clang"
env: BUILD_TYPE=Debug env: BUILD_TYPE=Debug
dist: xenial dist: xenial
compiler: clang compiler: clang
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- name: "Bionic - Debug - g++" - name: "Bionic - Debug - g++"
env: BUILD_TYPE=Debug env: BUILD_TYPE=Debug
dist: xenial dist: xenial
compiler: g++ compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- name: "OSX - Debug - clang" - name: "OSX - Debug - clang"
env: BUILD_TYPE=Debug env: BUILD_TYPE=Debug
os: osx os: osx
compiler: clang compiler: clang
addons:
install: homebrew:
# Install dependencies for FCL taps: homebrew/science
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then 'ci/install_linux.sh' ; fi update: true
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then 'ci/install_osx.sh' ; fi packages:
- git
- cmake
- boost
- libccd
- assimp
- eigen
- octomap
script: script:
# Create build directory # Create build directory
......
...@@ -83,7 +83,7 @@ endif () ...@@ -83,7 +83,7 @@ endif ()
search_for_boost() search_for_boost()
# Optional dependencies # Optional dependencies
add_optional_dependency("octomap >= 1.6") add_optional_dependency("octomap >= 1.6")
if (OCTOMAP_INCLUDE_DIRS AND OCTOMAP_LIBRARY_DIRS) if (OCTOMAP_FOUND)
include_directories(SYSTEM ${OCTOMAP_INCLUDE_DIRS}) include_directories(SYSTEM ${OCTOMAP_INCLUDE_DIRS})
link_directories(${OCTOMAP_LIBRARY_DIRS}) link_directories(${OCTOMAP_LIBRARY_DIRS})
SET(HPP_FCL_HAVE_OCTOMAP TRUE) SET(HPP_FCL_HAVE_OCTOMAP TRUE)
......
sudo apt-get -qq update
########################
# Mendatory dependencies
########################
sudo apt-get -qq --yes --force-yes install cmake
sudo apt-get -qq --yes --force-yes install libboost-all-dev
sudo apt-get -qq --yes --force-yes install libassimp-dev
sudo apt-get -qq --yes --force-yes install libeigen3-dev
# Octomap
git clone https://github.com/OctoMap/octomap
cd octomap
git checkout tags/v1.8.0
mkdir build
cd build
cmake ..
make
sudo make install
brew tap homebrew/science
brew install git
brew install cmake
brew install boost
brew install libccd
brew install assimp
brew install eigen
brew install octomap
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <boost/utility/binary.hpp> #include <boost/utility/binary.hpp>
#include <fstream>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/assign/list_of.hpp> #include <boost/assign/list_of.hpp>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment