Commit 3896b2b0 authored by Valenza Florian's avatar Valenza Florian

[travis] Reorganized travis build to perform 4 tests : gcc Debug and Release ,...

[travis] Reorganized travis build to perform 4 tests : gcc Debug and Release , clang Debug and Release. For now, only one test is done to ensure that builds that failed were due to travis build environment running out of RAM
parent c8ff000c
language: cpp
sudo: required
compiler:
- gcc
# - gcc
- clang
env:
global:
- secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
- "APT_DEPENDENCIES=doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran python-dev python-sphinx"
- DEBSIGN_KEYID=5AE5CD75
global:
- secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
- "APT_DEPENDENCIES=doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran python-dev python-sphinx"
- DEBSIGN_KEYID=5AE5CD75
matrix:
# - BUILDTYPE=Release
- BUILDTYPE=Debug
notifications:
email:
- hpp-source@laas.fr
......@@ -19,7 +22,9 @@ only:
matrix:
allow_failures:
- compiler:
script: ./.travis/run ../travis_custom/custom_build
script:
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
- ./.travis/run ../travis_custom/custom_build
after_success: ./travis/run after_success
after_failure: ./.travis/run after_failure
before_install: ./travis_custom/custom_before_install
\ No newline at end of file
......@@ -6,7 +6,7 @@ set -x
set -v
# Setup environment variables.
export CMAKE_ADDITIONAL_OPTIONS="-DBUILD_BENCHMARK=\"ON\" -DCOMPILE_UNIT_TESTS=1"
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DBUILD_BENCHMARK=\"ON\" -DCOMPILE_UNIT_TESTS=1"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
# Setup environment variables.
......
Markdown is supported
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