forked from ros-drivers/um7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 835 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
sudo: required
dist: trusty
language: generic
compiler:
- gcc
- clang
env:
- CC=gcc CXX=g++
- CC=clang CXX=clang++
install:
- export CI_ROS_DISTRO=indigo
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/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 -y
- sudo `which rosdep` init
- rosdep update
- rosdep install --default-yes --from-paths . --ignore-src --rosdistro $CI_ROS_DISTRO
script:
- mkdir -p ~/catkin_ws/src
- ln -s $TRAVIS_BUILD_DIR ~/catkin_ws/src/repo
- cd ~/catkin_ws
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
- catkin_make
- catkin_make run_tests
- catkin_test_results .
- catkin_make install
notifications:
email: false