forked from ipa320/bride
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.13 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
language:
- cpp
- python
python:
- '2.7'
compiler:
- gcc
notifications:
email:
recipients:
- aub@ipa.fhg.de
on_success: change
on_failure: change
hipchat:
rooms:
secure: GXlV9W5RvPV7Dy2KZ4TGH8jdlmuhlEIURbwIKXU8dTII0QlmgDvSKKBjLjBmESLq4TBVbi5v1rHElAcVZmG+k9FUoAXIlb8jT60UyN1ZOopy4Kdviko/B681cVQ1dUmsVFIyHfvs6Z70KO0cbvJ/EAAZ5PhtGP+Zh/C/FaOwx+0=
before_install:
- export ROS_DISTRO=hydro
- export CI_SOURCE_PATH=$(pwd)
- export REPOSITORY_NAME=${PWD##*/}
- echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME"
- 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 -qq -y python-catkin-pkg python-rosdep python-wstool ros-$ROS_DISTRO-catkin
ros-$ROS_DISTRO-ros
- sudo rosdep init
- rosdep update
install:
- mkdir -p ~/ros/ws_bride/src
- cd ~/ros/ws_bride/src
- ln -s $CI_SOURCE_PATH .
- cd ../
- rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y
before_script:
- source /opt/ros/$ROS_DISTRO/setup.bash
script:
- catkin_make -j2