Skip to content

Commit eb366e9

Browse files
committed
[kinetic] Update Travis config to run on Ubuntu 16.04 via Docker.
1 parent 0bda254 commit eb366e9

1 file changed

Lines changed: 15 additions & 31 deletions

File tree

.travis.yml

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,20 @@
1-
sudo: required
2-
dist: trusty
3-
# Force travis to use its minimal image with default Python settings
4-
language: generic
1+
# This config file for Travis CI utilizes ros-industrial/industrial_ci package.
2+
# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst
3+
sudo: required
4+
dist: trusty
5+
language: generic
56
compiler:
67
- gcc
8+
notifications:
9+
email:
10+
on_failure: always
11+
recipients:
12+
- gm130s@gmail.com # Change this to yours should you copy this file.
713
env:
8-
global:
9-
- CATKIN_WS=~/catkin_ws
10-
- CATKIN_WS_SRC=${CATKIN_WS}/src
1114
matrix:
12-
- CI_ROS_DISTRO="indigo"
13-
# - CI_ROS_DISTRO="jade"
14-
install:
15-
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
16-
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
17-
- sudo apt-get update -qq
18-
- sudo apt-get install -qq -y python-rosdep python-catkin-tools
19-
- sudo rosdep init
20-
- rosdep update
21-
# Use rosdep to install all dependencies (including ROS itself)
22-
- rosdep install --from-paths ./ -i -y --rosdistro $CI_ROS_DISTRO
15+
- USE_DEB=true ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
16+
- USE_DEB=true ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
17+
before_config:
18+
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
2319
script:
24-
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
25-
- mkdir -p $CATKIN_WS_SRC
26-
- ln -s $TRAVIS_BUILD_DIR $CATKIN_WS_SRC
27-
- cd $CATKIN_WS
28-
- catkin init
29-
# Enable install space
30-
#- catkin config --install
31-
# Build [and Install] packages
32-
- catkin build --limit-status-rate 0.1 --no-notify -DCMAKE_BUILD_TYPE=Release
33-
# Build tests
34-
- catkin build --limit-status-rate 0.1 --no-notify --make-args tests
35-
# Run tests
36-
- catkin run_tests
20+
- source .ci_config/travis.sh

0 commit comments

Comments
 (0)