This repository was archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
56 lines (48 loc) · 2.56 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
46
47
48
49
50
51
52
53
54
55
56
# 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: generic # optional, just removes the language badge
services:
- docker
notifications:
slack:
secure: dN+sNePHYq1PMm+E9S6Dk4UobyKS4r+fs0Xr8378UGt189HYV0al4DXPF95mnbQXknd9SbMA/qAWM7HRIt5plS4DjuR/7I5yrZnlnl1P6GPKtyhsCWrwgAyFWK5m+6bewzf/8pUg2YYGODGPBDReFqfli6c4Web1g/XW3M/DaVa4L7TqlKsmDEbYFDmooT8a1WFuxcYMSdgr3LGF2FBoPQVuBxYLYQX2xJ93KeniSzvsY5YMtBvMd5NP2C2/TWmJEMCvkLRbmFsl/eo8Nf4W9rNVt08kErQoRuABYO433ipZ+0zyFgzz2VVm0hxfVsSKUEt+uOarO/xP1z7mAnhrPeNWoM7Kw57djqEoqVRbr9EdKf5fg+UKLFWmlTvGagtzU4PB2/0Zq4sw/cdyXDDdMXwxjokpN9swvCM1faIWcG3A7M9mscIW/32hTmstqLtHG/1w0nNtg/N0Y16NOzCk98G2qiuCK+x031/TQDs0PE4JmilftW2nNhg5834dmMYsqKelLn5tVsXWKWMnQuZx22a7JQNQst9/Pt09+HuEzHfpUIZimjd8UoSIWlLJfocqM63ymUKY/t6TlTlLSkLexAAR/mzhyNQxZoYLHyxyJI8EjXu5KEVWH4Tw34oM2AcGE4bvg43LAajUQ/iz/7sxGcKN048uTzGF4uAz1Vutksk=
email: false
# 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:
- ROS_REPO=ros
- ADDITIONAL_DEBS='python-lxml python-pyqtgraph'
- CCACHE_DIR=$HOME/.ccache # enables C/C++ caching in industrial_ci
- BUILDER=colcon
- CATKIN_LINT=pedantic
- CATKIN_LINT_ARGS='--ignore launch_depend'
# DEBIAN_FRONTEND disables interactive frontends when installing packages. This is necessary for tzdata.
- DOCKER_RUN_OPTS='-e DEBIAN_FRONTEND=noninteractive'
- DOWNSTREAM_WORKSPACE=.rosinstall
- NOT_TEST_DOWNSTREAM=true
- AFTER_INSTALL_TARGET_DEPENDENCIES='pip install numpy_ringbuffer'
jobs:
include:
- name: "Melodic"
env: ROS_DISTRO=melodic
- name: "clang-format"
env: ROS_DISTRO=melodic CLANG_FORMAT_CHECK=file
- name: "flake8"
language: python
python: 2.7
install:
- pip install flake8 pep8-naming flake8-blind-except flake8-string-format flake8-builtins flake8-commas flake8-quotes flake8-print flake8-docstrings flake8-import-order flake8-colors
script: flake8
# clone and run industrial_ci
install:
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci -b master
script:
- .industrial_ci/travis.sh