From 4fc8fee20f29ca4f933ac5ee479a058e6e02783d Mon Sep 17 00:00:00 2001
From: mnaveau <maximilien.naveau@laas.fr>
Date: Thu, 19 May 2016 19:07:34 +0200
Subject: [PATCH] source ros setup after the installation of ros

---
 travis_custom/custom_before_install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/travis_custom/custom_before_install b/travis_custom/custom_before_install
index cb0ec3ab..7cebc084 100755
--- a/travis_custom/custom_before_install
+++ b/travis_custom/custom_before_install
@@ -41,11 +41,12 @@ 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"
-source /opt/ros/hydro/setup.bash
 
 # 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
-- 
GitLab