1 Star 0 Fork 0

hcc/jsk_travis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 6.22 KB
一键复制 编辑 原始数据 按行查看 历史
# Travis Continuous Integration Configuration File, based on ..
# Generic MoveIt Travis Continuous Integration Configuration File
# Works with all MoveIt! repositories/branches
# Author: Dave Coleman, Jonathan Bohren
language: c++
cache:
apt: true
pip: true
directories:
- $HOME/.ccache
- $HOME/.cache/pip
- $HOME/apt-cacher-ng
sudo: required
dist: trusty
services:
- docker
notifications:
slack: jsk-robotics:Av7tc8wj3IWkLYvlTzHE7x2g
env:
global:
# For testing ADDITIONAL_ENV_TO_DOCKER
- TEST_VAR1=true
- TEST_VAR2=false
- ADDITIONAL_ENV_TO_DOCKER='TEST_VAR1 TEST_VAR2'
# - CATKIN_TOOLS_BUILD_OPTIONS="-iv --summarize --no-status --make-args VERBOSE=1 --"
matrix:
# travis + jsk jenkins
- ROS_DISTRO=hydro USE_JENKINS="true" NO_SUDO="true"
- ROS_DISTRO=indigo
- ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
- ROS_DISTRO=indigo DOCKER_IMAGE_JENKINS=ros-ubuntu:14.04-pcl
- ROS_DISTRO=indigo DOCKER_IMAGE_JENKINS=ros-ubuntu:14.04-pcl1.8
- ROS_DISTRO=jade
- ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
# travis
- USE_TRAVIS=true ROS_DISTRO=indigo
- USE_TRAVIS=true ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- USE_TRAVIS=true ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
- USE_TRAVIS=true ROS_DISTRO=jade
- USE_TRAVIS=true ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- USE_TRAVIS=true ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
- USE_JENKINS=true ROS_DISTRO=kinetic DOCKER_IMAGE_JENKINS=ros-ubuntu:16.04-pcl
- USE_JENKINS=true ROS_DISTRO=melodic DOCKER_IMAGE_JENKINS=ros-ubuntu:18.04-pcl
- USE_JENKINS=true ROS_DISTRO=noetic DOCKER_IMAGE_JENKINS=ros-ubuntu:20.04-pcl
- USE_JENKINS=true ROS_DISTRO=noetic BEFORE_SCRIPT="touch ros_tutorials/turtlesim/CATKIN_IGNORE" # qt5/moc does not work on docker (https://stackoverflow.com/questions/56319830/error-when-building-qt-app-in-a-recent-docker)
# travis + docker
- USE_DOCKER=true ROS_DISTRO=hydro
- USE_DOCKER=true ROS_DISTRO=hydro USE_CATKIN_MAKE=true BEFORE_SCRIPT="pwd; git clone http://github.com/jsk-ros-pkg/jsk_common_msgs" NOT_TEST_INSTALL=true
- USE_DOCKER=true ROS_DISTRO=hydro TEST_PKGS=" "
- USE_DOCKER=true ROS_DISTRO=hydro ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- USE_DOCKER=true ROS_DISTRO=hydro BEFORE_SCRIPT="pwd; git clone http://github.com/jsk-ros-pkg/jsk_common_msgs"
- USE_DOCKER=true ROS_DISTRO=indigo
- USE_DOCKER=true ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- USE_DOCKER=true ROS_DISTRO=indigo TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
- USE_DOCKER=true ROS_DISTRO=jade
- USE_DOCKER=true ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis
- USE_DOCKER=true ROS_DISTRO=jade TRAVIS_REPO_SLUG=jsk-ros-pkg/jsk_travis TRAVIS_BRANCH=master TRAVIS_COMMIT='HEAD' TRAVIS_PULL_REQUEST='false'
- USE_DOCKER=true ROS_DISTRO=kinetic
- USE_DOCKER=true ROS_DISTRO=lunar
- USE_DOCKER=true ROS_DISTRO=melodic
- USE_DOCKER=true ROS_DISTRO=noetic ROS_PYTHON_VERSION=2
- USE_DOCKER=true ROS_DISTRO=noetic ROS_PYTHON_VERSION=3
- USE_DOCKER=true ROS_DISTRO=noetic
# gazebo
- USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=indigo
- USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=jade
- USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=kinetic
- USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=melodic
- USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=noetic
- USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=indigo
- USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=jade
- USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=kinetic
- USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=melodic
- USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=noetic
matrix:
fast_finish: true
allow_failures:
- env: USE_JENKINS=true ROS_DISTRO=noetic DOCKER_IMAGE_JENKINS=ros-ubuntu:20.04-pcl # failing due to Moc, see https://forum.qt.io/topic/113347/moc-gets-stuck-when-running-in-a-docker-container
- env: USE_DOCKER=true ROS_DISTRO=noetic ROS_PYTHON_VERSION=2 # ???
- env: USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=jade
- env: USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=kinetic
- env: USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=jade
- env: USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=kinetic
- env: USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=melodic
- env: USE_DOCKER=true TEST_GAZEBO=true ROS_DISTRO=noetic
- env: USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=noetic
- env: USE_JENKINS=true TEST_GAZEBO=true ROS_DISTRO=melodic
before_script:
- find $HOME/.ccache -type f
- find $HOME/.cache/pip -type f
- export ROSDEP_ADDITIONAL_OPTIONS='-n -v --ignore-src' # run rosdep without -q, -r and -v
- if [ ${ROS_DISTRO} == "noetic" ]; then export BEFORE_SCRIPT="sed -ie \"/gazebo/ d\" \${CI_SOURCE_PATH}/package.xml;${BEFORE_SCRIPT}"; fi # FIXME gazebo is not released in noetic
- mkdir .travis; cp -r * .travis # need to copy, since directory starting from . is ignoreed by catkin build
- export BEFORE_SCRIPT="rm -fr jsk_travis/CATKIN_IGNORE; git clone https://github.com/ros/ros_tutorials -b ${ROS_DISTRO}-devel;${BEFORE_SCRIPT}"
- if [ "${USE_CATKIN_MAKE}" == "true" ] ;then sed -i 's@catkin build -i -v --limit-status-rate 0.001@catkin_make@' .travis/travis.sh; fi
- if [ "${USE_CATKIN_MAKE}" == "true" ] ;then sed -i 's@catkin run_tests --no-deps --limit-status-rate 0.001@catkin_make run_tests@' .travis/travis.sh; fi
- if [ "${USE_CATKIN_MAKE}" == "true" ] ;then export CATKIN_PARALLEL_JOBS="--no-color" ; fi
script:
- if [ "${TEST_GAZEBO}" = "true" ]; then export CATKIN_TOOLS_BUILD_OPTIONS="--force-cmake --cmake-args -DENABLE_TEST_GAZEBO:BOOL=ON --"; fi
- source .travis/travis.sh
after_script:
- find $HOME/.ccache -type f
- find $HOME/.cache/pip -type f
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hcc-118/jsk_travis.git
git@gitee.com:hcc-118/jsk_travis.git
hcc-118
jsk_travis
jsk_travis
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385