File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
2
+ dist : trusty
3
+ # Force travis to use its minimal image with default Python settings
4
+ language : generic
5
+ compiler :
6
+ - gcc
7
+ env :
8
+ global :
9
+ - CATKIN_WS=~/catkin_ws
10
+ - CATKIN_WS_SRC=${CATKIN_WS}/src
11
+ - CI_ROS_DISTRO="indigo"
12
+ # matrix:
13
+ # - CI_ROS_DISTRO="indigo"
14
+ # - CI_ROS_DISTRO="jade"
15
+ install :
16
+ - sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
17
+ - wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
18
+ - sudo apt-get update -qq
19
+ - sudo apt-get install -qq -y python-rosdep python-catkin-tools
20
+ - sudo rosdep init
21
+ - rosdep update
22
+ # Use rosdep to install all dependencies (including ROS itself)
23
+ - rosdep install --from-paths ./ -i -y --rosdistro $CI_ROS_DISTRO
24
+ script :
25
+ - source /opt/ros/$CI_ROS_DISTRO/setup.bash
26
+ - mkdir -p $CATKIN_WS_SRC
27
+ - ln -s $TRAVIS_BUILD_DIR $CATKIN_WS_SRC
28
+ - cd $CATKIN_WS
29
+ - catkin init
30
+ # Enable install space
31
+ # - catkin config --install
32
+ # Build [and Install] packages
33
+ - catkin build --limit-status-rate 0.1 --no-notify -DCMAKE_BUILD_TYPE=Release
34
+ # Build tests
35
+ - catkin build --limit-status-rate 0.1 --no-notify --make-args tests
36
+ # Run tests
37
+ # - catkin run_tests
You can’t perform that action at this time.
0 commit comments