diff --git a/.travis.yml b/.travis.yml
index 425778320c32998616e0fce55c92d56a2d56fdab..9207ad3d8e6b9794c9112b9bcdcb2e8937c5ba80 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 3ba272b3d3f4af539bbb6e64e4814d9f137fa62c..8dd55079b55991e8dc508860ca6e0885187f42b1 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"		\