Skip to content

Commit b24a9b8

Browse files
authored
Fix bug with travis using an old version of dpkg (#109)
1 parent c7f9fa6 commit b24a9b8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ branches:
2424

2525
# Install system dependencies, namely a very barebones ROS setup.
2626
before_install:
27+
- sudo apt-get install -y dpkg # to upgrade to dpkg >= 1.17.5ubuntu5.8, which fixes https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
2728
- sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list"
2829
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
2930
- sudo apt-get update -qq
@@ -32,18 +33,18 @@ before_install:
3233
# Prepare rosdep to install dependencies.
3334
- sudo rosdep init
3435
- rosdep update
35-
36+
3637
# Create a catkin workspace with the package under integration.
3738
install:
3839
- mkdir -p ~/catkin_ws/src
3940
- cd ~/catkin_ws/src
4041
- catkin_init_workspace
4142
# Create the devel/setup.bash (run catkin_make with an empty workspace) and
4243
# source it to set the path variables.
43-
- cd ~/catkin_ws
44+
- cd ~/catkin_ws
4445
- catkin_make
4546
- source devel/setup.bash
46-
47+
4748
# Install required message packages
4849
- git clone https://github.com/ros/std_msgs.git src/std_msgs
4950
- git clone https://github.com/ros/common_msgs src/common_msgs
@@ -66,4 +67,3 @@ script:
6667
- npm run compile
6768
- npm run generate
6869
- npm test
69-

0 commit comments

Comments
 (0)