forked from windelbouwman/move-base-ompl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (36 loc) · 1.06 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
39
40
language:
- python
- cpp
python:
- "2.7"
compiler:
- gcc
before_install:
- export CI_SOURCE_PATH=$(pwd)
- lsb_release -a
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
- sudo apt-get update -qq
- sudo apt-get install ros-kinetic-ros-base
- sudo apt-get install ros-kinetic-move-base ros-kinetic-ompl
- sudo apt-get install python-catkin-pkg python-empy python-rospkg
- pip install catkin_pkg
- pip install rospkg
- sudo rosdep init
- rosdep update
install:
# make a workspace and checkout the right repos:
- source /opt/ros/kinetic/setup.bash
- mkdir -p ~/catkin_ws/src
- cd ~/catkin_ws/src
- catkin_init_workspace
- cd ..
- catkin_make
- cd ~/catkin_ws/src
- ln -s $CI_SOURCE_PATH . # link repo under test.
before_script:
- source ~/catkin_ws/devel/setup.bash
- cd ~/catkin_ws/src
script:
- cd ~/catkin_ws
- catkin_make