-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kinetic: use ROS-I CI configuration (#102)
- Loading branch information
1 parent
f2665b6
commit 86688ba
Showing
1 changed file
with
5 additions
and
24 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,34 +1,15 @@ | ||
# Fix recent Travis update by rolling back to previous configuration | ||
group: deprecated-2017Q3 | ||
sudo: required | ||
dist: trusty | ||
# Force travis to use its minimal image with default Python settings | ||
language: generic | ||
compiler: | ||
- gcc | ||
env: | ||
global: | ||
- CATKIN_WS=~/catkin_ws | ||
- CATKIN_WS_SRC=${CATKIN_WS}/src | ||
- UPSTREAM_WORKSPACE=file | ||
matrix: | ||
- CI_ROS_DISTRO="indigo" | ||
- ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu | ||
- ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu | ||
install: | ||
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu trusty 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 -qq -y python-rosdep | ||
- sudo rosdep init | ||
- rosdep update | ||
# Use rosdep to install all dependencies (including ROS itself) | ||
- rosdep install --from-paths ./ -i -y --rosdistro $CI_ROS_DISTRO | ||
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config | ||
script: | ||
- source /opt/ros/$CI_ROS_DISTRO/setup.bash | ||
- mkdir -p $CATKIN_WS_SRC | ||
- ln -s $TRAVIS_BUILD_DIR $CATKIN_WS_SRC | ||
- cd $CATKIN_WS | ||
# Build [and Install] packages, build tests, and run tests | ||
- catkin_make_isolated --install --cmake-args -DCMAKE_BUILD_TYPE=Release && | ||
catkin_make_isolated --install --cmake-args -DCMAKE_BUILD_TYPE=Release --catkin-make-args tests && | ||
catkin_make_isolated --install --cmake-args -DCMAKE_BUILD_TYPE=Release --catkin-make-args run_tests | ||
# Check results | ||
- catkin_test_results ./build_isolated | ||
- source .ci_config/travis.sh |