-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
30 lines (28 loc) · 1.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
language:
- cpp
compiler:
- gcc
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 python-catkin-tools python-catkin-lint ros-hydro-catkin ros-hydro-ros-base -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/ros-controls/ros_control.git
- touch ros_control/rqt_controller_manager/CATKIN_IGNORE
- touch ros_control/joint_limits_interface/CATKIN_IGNORE
- cd /tmp/ws
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
script:
- source /opt/ros/hydro/setup.bash
- catkin build --no-status
- source devel/setup.bash
- catkin lint src/package -W2 --ignore target_name_collision
- catkin config --install
- catkin clean -b
- catkin build --no-status
- source install/setup.bash