-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update travis configuration to test against kinetic (#44)
- Loading branch information
Showing
1 changed file
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |