-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (38 loc) · 1.41 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
42
43
44
45
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
language: cpp # optional, just removes the language badge
compiler:
- gcc
os:
- linux
branches:
only:
- master
- /^feature\/.*$/
# 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
- ROS_REPO=main
- CCACHE_DIR=$HOME/.ccache # enables C/C++ caching in industrial_ci
- UPSTREAM_WORKSPACE='github:kroshu/kroshu_ros2_core#master github:kroshu/ros2_cortex_interfaces#master'
- BUILDER='colcon'
- SONARQUBE='true'
- TEST_COVERAGE='true'
matrix: # each line is a job
- ROS_DISTRO='foxy'
notifications:
email: false
# clone and run industrial_ci
install:
- git clone --quiet --depth 1 https://github.com/kroshu/industrial_ci.git .industrial_ci
- curl "https://raw.githubusercontent.com/davetcoleman/roscpp_code_format/master/.clang-format" -o .clang-format
script:
- .industrial_ci/travis.sh