Skip to content

Commit 3f7ffeb

Browse files
authored
Update travis configuration to test against kinetic (#44)
1 parent 76facbb commit 3f7ffeb

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

.travis.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
1-
language:
2-
- cpp
3-
- python
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+
4+
dist: xenial
5+
services:
6+
- docker
7+
language: generic
48
python:
59
- "2.7"
610
compiler:
711
- gcc
812

13+
notifications:
14+
email:
15+
on_success: always
16+
on_failure: always
17+
18+
env:
19+
matrix:
20+
- ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu USE_DEB=true
21+
- ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0
22+
23+
matrix:
24+
allow_failures:
25+
- env: ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0
26+
927
branches:
1028
only:
1129
- master
1230
- develop
1331

1432
install:
15-
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise 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 python-catkin-pkg python-rosdep ros-hydro-catkin ros-hydro-catkin -qq
19-
- sudo rosdep init
20-
- rosdep update
21-
- mkdir -p /tmp/ws/src
22-
- ln -s `pwd` /tmp/ws/src/package
23-
- cd /tmp/ws/src
24-
- git clone https://github.com/WPI-RAIL/async_web_server_cpp.git
25-
- cd /tmp/ws
26-
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
33+
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
2734

2835
script:
29-
- source /opt/ros/hydro/setup.bash
30-
- catkin_make
31-
- catkin_make install
36+
- source .ci_config/travis.sh

0 commit comments

Comments
 (0)