Commit 6a886b87 authored by Justin Carpentier's avatar Justin Carpentier

travis: add job without Collsion support

parent ccf91776
......@@ -16,18 +16,26 @@ env:
- DO_CPPCHECK_ON_BRANCH=""
- DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
- BUILDTYPE=MinSizeRel
notifications:
email:
- pinocchio-dev@laas.fr
branches:
only:
- master
- debian
- devel
matrix:
only:
- master
- debian
- devel
jobs:
include:
- dist: trusty
- if: branch = master
dist: xenial
env: BUILD_WITH_COLLISION_SUPPORT=OFF
- dist: trusty
env: BUILD_WITH_COLLISION_SUPPORT=ON
- dist: xenial
env: BUILD_WITH_COLLISION_SUPPORT=ON
allow_failures:
- compiler:
before_install: ./travis_custom/custom_before_install
......@@ -35,7 +43,7 @@ install:
- pip install --user coveralls
- pip install --user numpy
script:
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE} -DBUILD_WITH_COLLISION_SUPPORT=${BUILD_WITH_COLLISION_SUPPORT}"
- sudo free -m -t
- travis_wait 40 ./.travis/run ../travis_custom/custom_build
after_failure: ./.travis/run after_failure
......
......@@ -16,8 +16,11 @@ sudo free -m -t
export APT_DEPENDENCIES="doxygen libboost-system-dev libboost-test-dev libboost-filesystem-dev libboost-program-options-dev libeigen3-dev liburdfdom-dev texlive-font-utils"
# Add Python dependency
export APT_DEPENDENCIES=$APT_DEPENDENCIES" libboost-python-dev robotpkg-py27-eigenpy python2.7-dev python-numpy"
# Add Geometry dependencies
export APT_DEPENDENCIES=$APT_DEPENDENCIES" robotpkg-hpp-fcl robotpkg-assimp robotpkg-octomap"
if [[ $BUILD_WITH_COLLISION_SUPPORT -eq ON ]]; then
export APT_DEPENDENCIES=$APT_DEPENDENCIES" robotpkg-hpp-fcl"
fi
# When this script is called the current directory is ./custom_travis
. ./.travis/run ../.travis/before_install
......
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