Newer
Older
- CTEST_OUTPUT_ON_FAILURE=1
- CXX_FLAGS_DEBUG="-O1"

Gabriele Buondonno
committed
- BUILD_PYTHON_INTERFACE=ON
- MAKEFLAGS="-j2"
- name: "Trusty - Release - g++"
dist: trusty
compiler: g++
addons:
apt:
packages:
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- name: "Xenial - Release - g++"
env: BUILD_TYPE=Release
dist: xenial
compiler: g++
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- name: "Bionic - Release - g++"
dist: bionic
compiler: g++
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- name: "Bionic - Debug - g++"
env: BUILD_TYPE=Debug
- cmake
- libboost-all-dev
- libassimp-dev
- libeigen3-dev
- name: "OSX - Release - clang"
cache:
ccache: true
directories:
- $HOME/Library/Caches/Homebrew
- 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

Gabriele Buondonno
committed
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DBUILD_PYTHON_INTERFACE=${BUILD_PYTHON_INTERFACE} ..
- travis_wait 30 make test
# Make sure we can install and uninstall with no issues
- sudo make install
- sudo make uninstall