adding .travis.yml

This commit is contained in:
Julius Kammerl 2013-05-23 11:29:48 -07:00 committed by Paul Bovbel
parent 5733764621
commit fa2baa5248

25
.travis.yml Normal file
View File

@ -0,0 +1,25 @@
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/perception_pcl
- 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