forked from CentroEPiaggio/kuka-lwr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (28 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
# travis beta feature
dist: trusty
language: generic
compiler:
- gcc
branches:
only:
- master
before_install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
- sudo apt-get update -qq
install:
- sudo apt-get -qq install ros-indigo-ros-base ros-indigo-cmake-modules ros-indigo-orocos-kdl ros-indigo-kdl-parser ros-indigo-kdl-conversions ros-indigo-ros-control ros-indigo-ros-controllers ros-indigo-gazebo4-ros ros-indigo-gazebo4-ros-pkgs ros-indigo-tf-conversions
before_script:
- sudo rosdep init
- rosdep update
- source /opt/ros/indigo/setup.bash
- mkdir -p ~/catkin_ws/src
- export REPOSITORY_NAME=${PWD##*/}
- ln -s $(pwd) ~/catkin_ws/src/$REPOSITORY_NAME
- cd ~/catkin_ws/src
- catkin_init_workspace
script:
- cd ~/catkin_ws/
- catkin_make