forked from RobotWebTools/rosbridge_suite
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (28 loc) · 878 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
language:
- cpp
- python
python:
- "2.7"
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 -qq
- sudo apt-get install ros-groovy-catkin -qq
- sudo rosdep init
- rosdep update
- mkdir -p /tmp/ws/src
- ln -s `pwd` /tmp/ws/src/rosbridge_suite
- cd /tmp/ws
- rosdep install --from-paths src --ignore-src --rosdistro groovy -y
script:
- source /opt/ros/groovy/setup.bash
- catkin_make
- catkin_make install
- sudo apt-get install ros-groovy-rostest
- source install/setup.bash
# - export ROS_MASTER_URI=http://localhost:11311
# - export ROS_HOSTNAME=localhost
#- rostest rosbridge_library test_all.test