sudo -E to enable DEBIAN_FRONTEND=noninteractive

This commit is contained in:
Kentaro Wada 2018-05-03 03:10:22 +09:00
parent 090e105e77
commit 3be6003f1b

View File

@ -22,6 +22,7 @@ function travis_time_end {
set -x
}
# Mainly for https://github.com/ros-perception/perception_pcl/pull/197#issuecomment-386056906
export DEBIAN_FRONTEND=noninteractive
apt-get update -qq && apt-get install -qq -y -q wget sudo lsb-release gnupg # for docker
@ -38,7 +39,7 @@ sudo sh -c "echo \"deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_rele
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
sudo apt-get update -qq
# Install ROS
sudo apt-get install -qq -y python-catkin-pkg python-catkin-tools python-rosdep python-wstool ros-$ROS_DISTRO-catkin
sudo -E apt-get install -qq -y python-catkin-pkg python-catkin-tools python-rosdep python-wstool ros-$ROS_DISTRO-catkin
source /opt/ros/$ROS_DISTRO/setup.bash
# Setup for rosdep
sudo rosdep init