Skip to content
Snippets Groups Projects
Commit 484a181b authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[travis] update CI.

parent 11ceff66
No related branches found
No related tags found
No related merge requests found
......@@ -17,29 +17,60 @@ matrix:
env: BUILD_TYPE=Debug
dist: xenial
compiler: g++
addons:
apt:
packages:
- liboctomap-dev
- name: "Xenial - Release - g++"
env: BUILD_TYPE=Release
dist: xenial
compiler: g++
addons:
apt:
packages:
- liboctomap-dev
- name: "Xenial - Debug - clang"
env: BUILD_TYPE=Debug
dist: xenial
compiler: clang
addons:
apt:
packages:
- liboctomap-dev
- name: "Bionic - Debug - g++"
env: BUILD_TYPE=Debug
dist: xenial
compiler: g++
addons:
apt:
packages:
- liboctomap-dev
- name: "OSX - Debug - clang"
env: BUILD_TYPE=Debug
os: osx
compiler: clang
install:
# Install dependencies for FCL
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then 'ci/install_linux.sh' ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then 'ci/install_osx.sh' ; fi
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
homebrew:
taps: homebrew/science
packages:
- git
- cmake
- boost
- libccd
- assimp
- eigen
- octomap
script:
# Create build directory
......
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
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