Verified Commit 25c738a2 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: remove travis

parent bdfa884d
language: cpp
env:
global:
- CTEST_PARALLEL_LEVEL=4
- CTEST_OUTPUT_ON_FAILURE=1
- CXX_FLAGS_DEBUG="-O1"
- MAKEFLAGS="-j2"
- BUILD_TESTING=ON
cache:
ccache: true
matrix:
include:
- name: "Xenial - Release - g++"
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
dist: xenial
compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- python-lxml
- python3-lxml
- doxygen
- name: "Bionic - Release - g++"
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
dist: bionic
compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- python-lxml
- python3-lxml
- doxygen
- name: "Bionic - Debug - g++"
env:
- BUILD_TYPE=Debug
- PYTHON_EXE=python
dist: bionic
compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- python-lxml
- python3-lxml
- doxygen
- name: "Bionic - Release - g++ - NO TEST"
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
- BUILD_TESTING=OFF
dist: bionic
compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- liboctomap-dev
- doxygen
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then source travis_custom/custom_before_install_linux.sh ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source travis_custom/custom_before_install_osx.sh ; fi
script:
# Create build directory
- which python
- mkdir build
- cd build
# Configure
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=$BUILD_TESTING -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DPYTHON_EXECUTABLE=$(which $PYTHON_EXE) ..
# Build
- make -j2
# Run unit tests
- travis_wait 30 make test
# Make sure we can install and uninstall with no issues
- sudo make install
- sudo make uninstall
# Add robotpkg
sudo sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list"
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
sudo apt-get update
# install eigenpy
sudo apt-get -qqy install robotpkg-py27-eigenpy
# set environment variables
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
export CMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH}:/opt/openrobots"
brew update
# Add gepetto tap
brew tap gepetto/homebrew-gepetto
brew install hpp-fcl --only-dependencies
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment