Skip to content
Snippets Groups Projects
Verified Commit 6a886b87 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

travis: add job without Collsion support

parent ccf91776
No related branches found
No related tags found
No related merge requests found
...@@ -16,18 +16,26 @@ env: ...@@ -16,18 +16,26 @@ env:
- DO_CPPCHECK_ON_BRANCH="" - DO_CPPCHECK_ON_BRANCH=""
- DO_INSTALL_DOC_EXCEPT_ON_BRANCH="" - DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
- BUILDTYPE=MinSizeRel - BUILDTYPE=MinSizeRel
notifications: notifications:
email: email:
- pinocchio-dev@laas.fr - pinocchio-dev@laas.fr
branches: branches:
only: only:
- master - master
- debian - debian
- devel - devel
matrix:
jobs:
include: include:
- dist: trusty - if: branch = master
dist: xenial
env: BUILD_WITH_COLLISION_SUPPORT=OFF
- dist: trusty
env: BUILD_WITH_COLLISION_SUPPORT=ON
- dist: xenial - dist: xenial
env: BUILD_WITH_COLLISION_SUPPORT=ON
allow_failures: allow_failures:
- compiler: - compiler:
before_install: ./travis_custom/custom_before_install before_install: ./travis_custom/custom_before_install
...@@ -35,7 +43,7 @@ install: ...@@ -35,7 +43,7 @@ install:
- pip install --user coveralls - pip install --user coveralls
- pip install --user numpy - pip install --user numpy
script: 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 - sudo free -m -t
- travis_wait 40 ./.travis/run ../travis_custom/custom_build - travis_wait 40 ./.travis/run ../travis_custom/custom_build
after_failure: ./.travis/run after_failure after_failure: ./.travis/run after_failure
......
...@@ -16,8 +16,11 @@ sudo free -m -t ...@@ -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" 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 # Add Python dependency
export APT_DEPENDENCIES=$APT_DEPENDENCIES" libboost-python-dev robotpkg-py27-eigenpy python2.7-dev python-numpy" export APT_DEPENDENCIES=$APT_DEPENDENCIES" libboost-python-dev robotpkg-py27-eigenpy python2.7-dev python-numpy"
# Add Geometry dependencies # 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 # When this script is called the current directory is ./custom_travis
. ./.travis/run ../.travis/before_install . ./.travis/run ../.travis/before_install
......
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