forked from ros/diagnostics
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (31 loc) · 917 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
sudo: required
dist: trusty
language: generic
group: deprecated-2017Q3
compiler:
- gcc
# install dependencies
install:
- export CI_ROS_DISTRO=indigo
- echo $CI_ROS_DISTRO
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty 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
- sudo apt-get install python-rosdep ros-indigo-catkin
- sudo `which rosdep` init
- rosdep update
# use rosdep to install dependencies
- rosdep install --default-yes --from-paths ./ --ignore-src --rosdistro $CI_ROS_DISTRO
script:
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
- catkin_init_workspace
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=./install
- make -j1
- make -j1 tests
- devel/env.sh make -j1 run_tests
- catkin_test_results .
- make -j1 install
notifications:
email: false