Skip to content

Commit

Permalink
add ROS 2 and colcon specific builds to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Nov 8, 2018
1 parent 0550a9f commit 6e6ab95
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,64 @@ sudo: false
env:
global:
- CONFIG_URL=https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml
- CONFIG2_URL=https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
- ROS_DISTRO_NAME=kinetic
- ROS2_DISTRO_NAME=bouncy
- OS_NAME=ubuntu
- OS_CODE_NAME=xenial
- OS_CODE_NAME2=bionic
- ARCH=amd64
- ROS_BUILDFARM_PULL_REQUEST_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
matrix:
include:
- language: python
python: "3.6"
sudo: required
services:
- docker
env: JOB_TYPE=devel REPOSITORY_NAME=rcl ROSDISTRO_INDEX_URL=https://raw.githubusercontent.com/ros2/rosdistro/ros2/index-v4.yaml
before_script:
# install colcon for test results
- pip install colcon-core colcon-test-result
- python setup.py install
- mkdir job && cd job
- ln -s .. ros_buildfarm
script:
- generate_devel_script.py $CONFIG2_URL $ROS2_DISTRO_NAME default $REPOSITORY_NAME $OS_NAME $OS_CODE_NAME2 $ARCH > job.sh
- . job.sh -y
- (exit $test_result_RC)
- language: python
python: "3.6"
sudo: required
services:
- docker
env: JOB_TYPE=prerelease UNDERLAY_REPOSITORY_NAMES="ament_cmake_ros" OVERLAY_PACKAGE_NAMES=rcutils ROSDISTRO_INDEX_URL=https://raw.githubusercontent.com/ros2/rosdistro/ros2/index-v4.yaml
before_script:
# install colcon for test results
- pip install colcon-core colcon-test-result
- python setup.py install
- mkdir job && cd job
- ln -s .. ros_buildfarm
script:
- generate_prerelease_script.py $CONFIG2_URL $ROS2_DISTRO_NAME default $OS_NAME $OS_CODE_NAME2 $ARCH $UNDERLAY_REPOSITORY_NAMES --pkg $OVERLAY_PACKAGE_NAMES --output-dir .
- . prerelease.sh -y
- (exit $test_result_RC_underlay) && (exit $test_result_RC_overlay)
- language: python
python: "3.6"
sudo: required
services:
- docker
env: JOB_TYPE=devel BUILD_TOOL=colcon REPOSITORY_NAME=roscpp_core ROSDISTRO_INDEX_URL=https://raw.githubusercontent.com/ros2/rosdistro/ros2/index-v4.yaml
before_script:
# install colcon for test results
- pip install colcon-core colcon-test-result
- python setup.py install
- mkdir job && cd job
- ln -s .. ros_buildfarm
script:
- generate_devel_script.py $CONFIG_URL $ROS_DISTRO_NAME default $REPOSITORY_NAME $OS_NAME $OS_CODE_NAME $ARCH --build-tool $BUILD_TOOL > job.sh
- . job.sh -y
- (exit $test_result_RC)
- language: python
python: "3.6"
sudo: required
Expand Down

0 comments on commit 6e6ab95

Please sign in to comment.