2014-12-20 13:54:35 -04:00
|
|
|
language: cpp
|
|
|
|
|
2016-10-19 21:31:56 -03:00
|
|
|
git:
|
2018-08-01 11:18:26 -03:00
|
|
|
depth: 100
|
2017-04-23 22:56:29 -03:00
|
|
|
submodules: false
|
2016-10-19 21:31:56 -03:00
|
|
|
|
2015-09-13 14:53:47 -03:00
|
|
|
matrix:
|
2015-10-18 11:10:33 -03:00
|
|
|
fast_finish: true
|
2015-09-13 14:53:47 -03:00
|
|
|
include:
|
2018-08-01 14:50:42 -03:00
|
|
|
- os: linux
|
2018-12-26 11:53:50 -04:00
|
|
|
dist: xenial
|
2020-01-16 07:09:10 -04:00
|
|
|
# In order to stay under the coverity rate limit, we only run this weekly
|
|
|
|
# and not on push which is configured in travis-ci settings.
|
2022-09-07 01:09:44 -03:00
|
|
|
if: branch = main
|
2015-04-17 23:12:44 -03:00
|
|
|
|
2015-09-13 14:53:47 -03:00
|
|
|
before_install:
|
2018-08-01 11:18:26 -03:00
|
|
|
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
2014-12-21 12:01:26 -04:00
|
|
|
|
2018-08-01 11:18:26 -03:00
|
|
|
install:
|
|
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
|
|
- pip install --user --upgrade pip
|
|
|
|
- pip install --user -r Tools/setup/requirements.txt
|
2015-09-10 03:21:40 -03:00
|
|
|
|
2018-08-01 11:18:26 -03:00
|
|
|
script:
|
|
|
|
- make
|
2014-12-21 12:01:26 -04:00
|
|
|
|
2017-01-03 00:34:45 -04:00
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
2017-10-20 10:20:30 -03:00
|
|
|
name: "PX4/Firmware"
|
|
|
|
description: "Build submitted via Travis CI"
|
2017-01-03 00:34:45 -04:00
|
|
|
notification_email: ci@px4.io
|
2017-10-20 10:20:30 -03:00
|
|
|
build_command_prepend: "make distclean"
|
2018-11-22 00:27:21 -04:00
|
|
|
build_command: "make px4_sitl_default"
|
2017-10-20 10:20:30 -03:00
|
|
|
branch_pattern: coverity_scan
|