forked from jhu-lcsr/rtt_gazebo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (43 loc) · 1.36 KB
/
.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
39
40
41
42
43
44
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)
- export EXTRA_CMAKE_ARGS="-DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION=OMNIORB"
# 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 isolated workspace based on the ros distro
- mkdir -p ~/ws_isolated/src
- pushd ~/ws_isolated/src
#- git clone --recursive https://www.github.com/jhu-lcsr-forks/orocos_toolchain.git
#- git clone --recursive https://www.github.com/jhu-lcsr-forks/orocos_kinematics_dynamics.git
- popd
# Create non-isolated workspace
- mkdir -p ~/ws/src
- pushd ~/ws/src
- ln -s $CI_SOURCE_PATH
- git clone --recursive https://www.github.com/jhu-lcsr-forks/rtt_ros_integration.git
- popd
# Install deps
- rosdep install -r --from-paths ~/ws/src ~/ws_isolated/src --ignore-src --rosdistro $ROS_DISTRO -y > /dev/null
install:
# Build in an isolated catkin workspace
- pushd ~/ws_isolated
- catkin_make_isolated --install -j2 --cmake-args $EXTRA_CMAKE_ARGS
#- source install_isolated/setup.bash
- pushd ~/ws
- catkin_make -j2
- source devel/setup.bash
script:
# Run tests
- ""