Newer
Older
- CTEST_OUTPUT_ON_FAILURE=1
- CXX_FLAGS_DEBUG="-O1"
- name: "Trusty - Debug - g++"
env: BUILD_TYPE=Debug
dist: trusty
compiler: g++
- name: "Xenial - Debug - g++"
env: BUILD_TYPE=Debug
dist: xenial
compiler: g++
- name: "Xenial - Release - g++"
env: BUILD_TYPE=Release
dist: xenial
compiler: g++
- name: "Xenial - Debug - clang"
env: BUILD_TYPE=Debug
dist: xenial
- name: "Bionic - Debug - g++"
env: BUILD_TYPE=Debug
dist: xenial
compiler: g++
- name: "OSX - Debug - clang"
env: BUILD_TYPE=Debug
os: osx
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
script:
# Create build directory
- mkdir build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} ..
- travis_wait 30 ctest
# Make sure we can install and uninstall with no issues