Skip to content

Commit 53bb5ff

Browse files
committed
Add CI
1 parent 04ffc6a commit 53bb5ff

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.travis.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This config file for Travis CI utilizes ros-industrial/industrial_ci package.
2+
# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst
3+
language: generic
4+
dist: bionic
5+
services:
6+
- docker
7+
8+
# include the following block if the C/C++ build artifacts should get cached by Travis,
9+
# CCACHE_DIR needs to get set as well to actually fill the cache
10+
cache:
11+
directories:
12+
- $HOME/.ccache
13+
14+
git:
15+
quiet: true # optional, silences the cloning of the target repository
16+
17+
# configure the build environment(s)
18+
# https://github.com/ros-industrial/industrial_ci/blob/master/doc/index.rst#variables-you-can-configure
19+
env:
20+
global: # global settings for all jobs
21+
- CCACHE_DIR=$HOME/.ccache # enables C/C++ caching in industrial_ci
22+
- ROS_REPO=ros-testing # ros
23+
matrix:
24+
- ROS_DISTRO="kinetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
25+
- ROS_DISTRO="kinetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
26+
- ROS_DISTRO="kinetic" PRERELEASE=true
27+
- ROS_DISTRO="melodic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
28+
- ROS_DISTRO="melodic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
29+
- ROS_DISTRO="melodic" PRERELEASE=true
30+
- ROS_DISTRO="noetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
31+
- ROS_DISTRO="noetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
32+
- ROS_DISTRO="noetic" PRERELEASE=true
33+
matrix:
34+
allow_failures:
35+
- env: ROS_DISTRO="kinetic" PRERELEASE=true
36+
- env: ROS_DISTRO="melodic" PRERELEASE=true
37+
- env: ROS_DISTRO="noetic" PRERELEASE=true
38+
install:
39+
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b master
40+
script:
41+
- source .ci_config/travis.sh

0 commit comments

Comments
 (0)