Skip to content

Commit

Permalink
use snapshot of rosdep list for eol distros
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 28, 2021
1 parent d4ddca1 commit b4569b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Empty file modified test/test_lxml.py
100644 → 100755
Empty file.
7 changes: 7 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ rosdep --version
if [ ! -e /etc/ros/rosdep/sources.list.d/20-default.list ]; then
sudo rosdep init
fi

# use snapshot of rosdep list
# https://github.com/ros/rosdistro/pull/31570#issuecomment-1000497517
if [[ "$ROS_DISTRO" =~ "hydro"|"indigo"|"jade"|"kinetic"|"lunar" ]]; then
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
sudo wget https://gist.githubusercontent.com/cottsay/b27a46e53b8f7453bf9ff637d32ea283/raw/476b3714bb90cfbc6b8b9d068162fc6408fa7f76/30-xenial.list -O /etc/ros/rosdep/sources.list.d/30-xenial.list
fi
ret=1
rosdep update --include-eol-distros|| while [ $ret != 0 ]; do sleep 1; rosdep update --include-eol-distros && ret=0 || echo "failed"; done

Expand Down

0 comments on commit b4569b8

Please sign in to comment.