Skip to content

Commit

Permalink
Merge pull request #551 from k-okada/fix_for_travis
Browse files Browse the repository at this point in the history
[.travis.sh] use infinite loop to compile old hrpsys
  • Loading branch information
fkanehiro committed Apr 2, 2015
2 parents dac108b + 8aac4a1 commit 2b3d765
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,24 @@ case $TEST_PACKAGE in
travis_time_end
travis_time_start compile_old_hrpsys

(catkin_make_isolated -j1 -l1 --merge || catkin_make_isolated -j1 -l1 --merge)
trap 0 ERR
need_compile=1
while [ $need_compile != 0 ]; do
catkin_make_isolated -j1 -l1 --merge
need_compile=$?
done
trap error ERR

travis_time_end
travis_time_start install_old_hrpsys

(catkin_make_isolated -j1 -l1 --install || catkin_make_isolated -j1 -l1 --install ) | grep -v '^-- \(Up-to-date\|Installing\):'
trap 0 ERR
need_compile=1
while [ $need_compile != 0 ]; do
catkin_make_isolated -j1 -l1 --install | grep -v '^-- \(Up-to-date\|Installing\):'
need_compile=${PIPESTATUS[0]}
done
trap error ERR

#cp ~/catkin_ws/src/hrpsys/package.xml install_isolated/share/hrpsys/ # old hrpsys did not do this
source install_isolated/setup.bash
Expand Down

0 comments on commit 2b3d765

Please sign in to comment.