forked from brytsknguyen/velodyne_simulator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bitbucket-pipelines.yml
52 lines (51 loc) · 3.19 KB
/
bitbucket-pipelines.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
41
42
43
44
45
46
47
48
49
50
51
52
# Docker image from Docker Hub
image: osrf/ros:kinetic-desktop-full
pipelines:
default:
- parallel:
- step:
name: kinetic
image: osrf/ros:kinetic-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated
- step:
name: lunar
image: osrf/ros:lunar-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated
- step:
name: melodic
image: osrf/ros:melodic-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated
branches:
gazebo2:
- step:
name: indigo
image: osrf/ros:indigo-desktop-full
script:
- mkdir -p /tmp/src/repo && mv `pwd`/* /tmp/src/repo && mv /tmp/src `pwd` # Move everything into the src directory
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- apt update && rosdep install --from-paths src --ignore-src -y # Install dependencies missing from the docker image
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args tests
- catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make-args run_tests -j1
- catkin_test_results build_isolated