Skip to content
Snippets Groups Projects
Commit 1ae46c36 authored by mnaveau's avatar mnaveau
Browse files

add a file to specify a specific behavior in case of failure, like running...

add a file to specify a specific behavior in case of failure, like running tests with gdb or valgrind
Specify the build to be RELEASE
parent 513f589d
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,10 @@ before_install: ./travis_custom/custom_before_install
install:
- pip install --user coveralls
script:
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
- sudo free -m -t
- travis_wait ./.travis/run ../travis_custom/custom_build
script: ./.travis/run ../travis_custom/custom_build
after_failure: ./.travis/run after_failure
after_failure: ./.travis/run ../travis_custom/custom_after_failure
after_success:
- ./.travis/run after_success
- export PYTHONPATH=/tmp/_ci/install/lib/python2.7/site-packages
......
./.travis/run after_failure
......@@ -35,6 +35,7 @@ export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/humanoid-path-plan
export CMAKE_ADDITIONAL_OPTIONS=$CMAKE_ADDITIONAL_OPTIONS" -DLINEAR_ALGEBRA_LIB=eigen"
export CMAKE_ADDITIONAL_OPTIONS=$CMAKE_ADDITIONAL_OPTIONS" -DBUILD_UNIT_TESTS=OFF"
export CMAKE_ADDITIONAL_OPTIONS=$CMAKE_ADDITIONAL_OPTIONS" -DBUILD_PYTHON_INTERFACE=OFF"
export CMAKE_ADDITIONAL_OPTIONS=$CMAKE_ADDITIONAL_OPTIONS" -DCMAKE_BUILD_TYPE=RELEASE"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
......
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