forked from VT-ASIM-LAB/dataspeed_controller_driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
40 lines (39 loc) · 2.93 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
pipelines:
default:
- parallel:
- step:
name: Noetic
image: dataspeedinc/ros:noetic
script:
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- mkdir src && mv `find -maxdepth 1 -not -name . -not -name src` src/ # Move everything into the src directory
- 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
- for x in build_isolated/**/test_results; do cp -r $x/ .; done && mv test_results test-results # Create top level test-results folder for Pipelines
- catkin_test_results build_isolated # Display test results and error on any test failure
- step:
name: Melodic
image: dataspeedinc/ros:melodic
script:
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- mkdir src && mv `find -maxdepth 1 -not -name . -not -name src` src/ # Move everything into the src directory
- 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
- for x in build_isolated/**/test_results; do cp -r $x/ .; done && mv test_results test-results # Create top level test-results folder for Pipelines
- catkin_test_results build_isolated # Display test results and error on any test failure
- step:
name: Kinetic
image: dataspeedinc/ros:kinetic
script:
- source `find /opt/ros -name setup.bash | sort | head -1` && echo $ROS_DISTRO # Source ROS environment
- mkdir src && mv `find -maxdepth 1 -not -name . -not -name src` src/ # Move everything into the src directory
- 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
- for x in build_isolated/**/test_results; do cp -r $x/ .; done && mv test_results test-results # Create top level test-results folder for Pipelines
- catkin_test_results build_isolated # Display test results and error on any test failure