forked from orocos/rtt_ros_integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (36 loc) · 991 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language:
- cpp
- python
- ruby
- lua
python:
- "2.7"
compiler:
- gcc
before_install:
# Define some config vars
- export ROS_DISTRO=hydro
- export CI_SOURCE_PATH=$(pwd)
# Bootstrap a minimal ROS installation
- git clone https://github.com/jhu-lcsr/ros_ci_tools /tmp/ros_ci_tools && export PATH=/tmp/ros_ci_tools:$PATH
- ros_ci_bootstrap
- source /opt/ros/$ROS_DISTRO/setup.bash
# Create non-isolated workspace
- mkdir -p ~/ws/src
- pushd ~/ws/src
- ln -s $CI_SOURCE_PATH
- popd
- rosdep install -r --from-paths ~/ws/src --ignore-src --rosdistro $ROS_DISTRO -y > /dev/null
# Source the ROS setup script again due to eventually updated env-hooks
- source /opt/ros/$ROS_DISTRO/setup.bash
install:
# build the normal catkin workspace
- pushd ~/ws
- catkin_make -j2
script:
# Run tests
- source devel/setup.bash
- rosrun rtt_roscomm_tests test_message_package.bash
- catkin_make run_tests
- catkin_test_results
#- catkin_make install