Skip to content

Commit

Permalink
Update travis configuration to test against kinetic (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonl committed Jan 8, 2018
1 parent 059124c commit 12cd45e
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
language:
- cpp
- python
# This config file for Travis CI utilizes ros-industrial/industrial_ci package.
# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst

dist: xenial
services:
- docker
language: generic
python:
- "2.7"
compiler:
- gcc

notifications:
email:
on_success: always
on_failure: always

env:
matrix:
- ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu USE_DEB=true
- ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0

matrix:
allow_failures:
- env: ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0

branches:
only:
- master
- develop

install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install python-catkin-pkg python-rosdep ros-hydro-catkin ros-hydro-catkin -qq
- sudo rosdep init
- rosdep update
- mkdir -p /tmp/ws/src
- ln -s `pwd` /tmp/ws/src/package
- cd /tmp/ws/src
- git clone https://github.com/WPI-RAIL/async_web_server_cpp.git
- cd /tmp/ws
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config

script:
- source /opt/ros/hydro/setup.bash
- catkin_make
- catkin_make install
- source .ci_config/travis.sh

0 comments on commit 12cd45e

Please sign in to comment.