From 2abf27acb90be38cec4c38b4ff4d9e2b64b9686c Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Fri, 15 Apr 2016 10:16:50 +0200 Subject: [PATCH] [travis] install viewer to avoid failure on travis --- .travis.yml | 12 +++++++++++- .travis/{run => after_success} | 0 .travis/build | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) rename .travis/{run => after_success} (100%) diff --git a/.travis.yml b/.travis.yml index 4257783..9207ad3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,15 @@ addons: - python2.7-dev - doxygen-latex - python-numpy + - python-scipy + - python-matplotlib + - libopenscenegraph-dev + - libopenthreads-dev + - qt4-dev-tools + - libqt4-opengl-dev + - libqtgui4 + - python-tk + before_install: - python -c "import numpy.core.numeric" - git submodule update --init --recursive @@ -35,6 +44,7 @@ before_install: - sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116 - sudo apt-get update -qq - sudo apt-get install -qq liburdfdom-dev libassimp-dev ros-indigo-catkin ros-indigo-xacro ros-indigo-kdl-parser ros-indigo-common-msgs ros-indigo-tf ros-indigo-tf-conversions ros-indigo-libccd ros-indigo-octomap ros-indigo-resource-retriever ros-indigo-srdfdom ros-indigo-pr2-robot libomniorb4-dev omniorb-nameserver omniidl omniidl-python +- sudo apt-get install -qq python-gtk2 script: ./.travis/build -after_script: ./.travis/run +after_success: ./.travis/after_success diff --git a/.travis/run b/.travis/after_success similarity index 100% rename from .travis/run rename to .travis/after_success diff --git a/.travis/build b/.travis/build index 3ba272b..8dd5507 100755 --- a/.travis/build +++ b/.travis/build @@ -124,6 +124,11 @@ install_dependency humanoid-path-planner/hpp-manipulation-corba devel install_dependency humanoid-path-planner/iai_maps devel +install_dependency humanoid-path-planner/gepetto-viewer devel +install_dependency humanoid-path-planner/gepetto-viewer-corba devel +install_dependency humanoid-path-planner/hpp-gui devel +install_dependency humanoid-path-planner/hpp-gepetto-viewer devel + # Compile and run tests cd "$build_dir" cmake "$root_dir" -DCMAKE_INSTALL_PREFIX="$install_dir" \ -- GitLab