Commit 04830104 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CI] drop travis, fix #23

parent c8b2d011
Pipeline #12120 passed with stage
in 30 minutes and 19 seconds
[submodule "cmake"]
path = cmake
url = https://github.com/jrl-umi3218/jrl-cmakemodules.git
[submodule ".travis"]
path = .travis
url = https://github.com/MaximilienNaveau/jrl-travis.git
Subproject commit 41f6882329e97397e9c92ac55218a447461e03d0
language: cpp
sudo: required
compiler:
- gcc
- clang
env:
global:
- secure: ViEXlUgT66UGxlMPd2ZmZdB9rhFS3rsl6ktJFdyRukdXwZl3/5boy95RJJawFSQ4PmcKX35oZ5Afl7CSuT5r7uiEoFCeZu38b80E3BsuUr4zPgdZS4hI818L/MPhahmN5ravefVbDl+Yf95bWQ79EYj45yvh1dJH+YRBD+ucPDk=
- "APT_DEPENDENCIES=doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran"
- DEBSIGN_KEYID=5AE5CD75
- LCOV_IGNORE_RULES="*unittest* /opt/openrobots/*"
notifications:
email:
- hpp-source@laas.fr
branches:
only:
- master
matrix:
allow_failures:
- compiler: clang
before_install: ./travis_custom/custom_before_install
install:
- pip install --user coveralls
script:
- sudo free -m -t
- travis_wait ./.travis/run ../travis_custom/custom_build
script: ./.travis/run ../travis_custom/custom_build
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
- coveralls-lcov -v -n /tmp/_ci/build/coverage.info > coverage.json
- coverage run ./python/tests.py
- coveralls --merge=coverage.json
# Setup environment variables.
source /opt/ros/hydro/setup.bash
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DBUILD_UNIT_TESTS=\"ON\""
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/ros/hydro/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/ros/hydro/lib"
env
cd /tmp/_ci/build/tests
valgrind TestMorisawa2007ShortWalk64 /tmp/_ci/install/share/simple_humanoid_description/urdf/simple_humanoid.urdf /tmp/_ci/install/share/simple_humanoid_description/srdf/simple_humanoid.srdf
../.travis/run ../.travis/after_failure
#!/bin/bash
set -e
# Set debug mode
set -x
set -v
# Add robotpkg
sudo sh -c "echo \"deb http://robotpkg.openrobots.org/packages/debian precise robotpkg\" >> /etc/apt/sources.list "
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
# Add ros-hydro
sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu precise main\" > /etc/apt/sources.list.d/ros-latest.list"
curl https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | sudo apt-key add -
# show memory usage before install
sudo free -m -t
# Setup environment variables.
# Add dependencies from apt
export APT_DEPENDENCIES="doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran"
# Add urdfdom from ros hydro
export APT_DEPENDENCIES=$APT_DEPENDENCIES" ros-hydro-urdfdom ros-hydro-urdfdom-headers"
# Add dependencies from robot-pkg
#export APT_DEPENDENCIES=$APT_DEPENDENCIES" robotpkg-jrl-mal+jrl-mathtools"
# add valgrind to debug
export APT_DEPENDENCIES=$APT_DEPENDENCIES" valgrind"
# Add one git dependency
export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/MaximilienNaveau/simple_humanoid_description.git"
export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/stack-of-tasks/pinocchio.git#devel"
export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/jrl-umi3218/jrl-mathtools.git"
export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/jrl-umi3218/jrl-mal.git"
export GIT_DEPENDENCIES=$GIT_DEPENDENCIES" https://github.com/humanoid-path-planner/qpOASES.git"
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"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/ros/hydro/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/ros/hydro/lib"
# When this script is called the current directory is ./custom_travis
. ./.travis/run ../.travis/before_install
source /opt/ros/hydro/setup.bash
# End debug mode
set +v
set +x
#!/bin/bash
set -e
# Set debug mode
set -x
set -v
# Setup environment variables.
source /opt/ros/hydro/setup.bash
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DLINEAR_ALGEBRA_LIB=eigen"
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DBUILD_PYTHON_INTERFACE=OFF"
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DCMAKE_BUILD_TYPE=RELEASE"
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DBUILD_UNIT_TESTS=\"ON\""
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/ros/hydro/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/ros/hydro/lib"
# run the build
. ./.travis/run ../.travis/build
# End debug mode
set +v
set +x
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