Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support catkin_virtualenv for indigo (Ubuntu 14.04) #452

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,19 @@ else
wget http://raw.github.com/jsk-ros-pkg/jsk_travis/master/rosdep-install.sh -O - | bash
fi

# following requirements.txt syntax is not support on 14.04
# google-api-core[grpc]==1.31.5 # via google-cloud-language
# so we intentionally use requirements.txt
# To use this program, we need to run
# sed -i 's/upgrade_pip=True/upgrade_pip=False/' /opt/ros/indigo/share/catkin_virtualenv/cmake/build_venv.py
# to prevent upgrading to latest pip, which is not Python2 compatible
# https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/342
if [ "$ROS_DISTRO" == "indigo" ]; then
if [ -e /opt/ros/indigo/share/catkin_virtualenv/cmake/build_venv.py ]; then
sed -i 's/upgrade_pip=True/upgrade_pip=False/' /opt/ros/indigo/share/catkin_virtualenv/cmake/build_venv.py
fi
fi

# Store docker cache
if [ `whoami` = travis ]; then
sudo rm -fr $HOME/.cache/pip/*
Expand Down
Loading