-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
63 lines (60 loc) · 2.03 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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://github.com/jhu-lcsr-forks/orocos_toolchain.git
#- git clone --recursive https://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 https://github.com/jhu-lcsr-forks/rtt_ros_integration.git
- pushd rtt_ros_integration
- find . -maxdepth 1 -type d -exec touch {}/CATKIN_IGNORE \;
- rm CATKIN_IGNORE
- rm rtt_actionlib/CATKIN_IGNORE
- popd
- git clone https://github.com/jbohren/rqt_dot.git
- git clone https://github.com/jhu-lcsr/rtt_ros_control.git
- popd
- rosdep install -r --from-paths ~/ws/src --ignore-src --rosdistro $ROS_DISTRO -y > /dev/null
# Currently waiting for this rosdep rule to be merged
- sudo apt-get install -qq google-mock lcov
- sudo pip install cpp-coveralls --use-mirrors
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
#- popd
# build the normal catkin workspace
- pushd ~/ws
- catkin_make -j2 --cmake-args -DCMAKE_BUILD_TYPE=Debug
# -DENABLE_COVERAGE=On
script:
# Run tests
- source devel/setup.bash
#- rosrun rtt_roscomm_tests test_message_package.bash
- catkin_make run_tests
#- catkin_make install
# - catkin_make conman_coverage
after_success:
# - coveralls --root build/conman/coverage