forked from ros-drivers/audio_common
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (38 loc) · 1.62 KB
/
.travis.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
# This config file for Travis CI utilizes ros-industrial/industrial_ci package.
# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst
language: generic
dist: bionic
services:
- docker
# include the following block if the C/C++ build artifacts should get cached by Travis,
# CCACHE_DIR needs to get set as well to actually fill the cache
cache:
directories:
- $HOME/.ccache
git:
quiet: true # optional, silences the cloning of the target repository
# configure the build environment(s)
# https://github.com/ros-industrial/industrial_ci/blob/master/doc/index.rst#variables-you-can-configure
env:
global: # global settings for all jobs
- CCACHE_DIR=$HOME/.ccache # enables C/C++ caching in industrial_ci
- ROS_REPO=ros-testing # ros
matrix:
- ROS_DISTRO="kinetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
- ROS_DISTRO="kinetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
- ROS_DISTRO="kinetic" PRERELEASE=true
- ROS_DISTRO="melodic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
- ROS_DISTRO="melodic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
- ROS_DISTRO="melodic" PRERELEASE=true
- ROS_DISTRO="noetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Debug'
- ROS_DISTRO="noetic" CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Release'
- ROS_DISTRO="noetic" PRERELEASE=true
matrix:
allow_failures:
- env: ROS_DISTRO="kinetic" PRERELEASE=true
- env: ROS_DISTRO="melodic" PRERELEASE=true
- env: ROS_DISTRO="noetic" PRERELEASE=true
install:
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b master
script:
- source .ci_config/travis.sh