forked from RobotWebTools/tf2_web_republisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (30 loc) · 848 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
language:
- cpp
- python
python:
- "2.7"
compiler:
- gcc
branches:
only:
- master
- develop
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 ros-groovy-catkin ros-hydro-catkin -qq
- sudo rosdep init
- rosdep update
- mkdir -p /tmp/ws/src
- ln -s `pwd` /tmp/ws/src/package
- cd /tmp/ws
- rosdep install --from-paths src --ignore-src --rosdistro groovy -y
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
script:
- source /opt/ros/groovy/setup.bash
- catkin_make
- catkin_make install
- rm -rf build/ install/ devel/
- catkin_make
- catkin_make install