From b4569b881738d427c8b784e0084c9a1af64cc0cd Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Tue, 28 Dec 2021 16:18:20 +0900 Subject: [PATCH] use snapshot of rosdep list for eol distros --- test/test_lxml.py | 0 travis.sh | 7 +++++++ 2 files changed, 7 insertions(+) mode change 100644 => 100755 test/test_lxml.py diff --git a/test/test_lxml.py b/test/test_lxml.py old mode 100644 new mode 100755 diff --git a/travis.sh b/travis.sh index a531e91..314fd73 100755 --- a/travis.sh +++ b/travis.sh @@ -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