px4-firmware/.travis.yml

43 lines
999 B
YAML
Raw Normal View History

language: cpp
2016-10-19 21:31:56 -03:00
git:
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:
fast_finish: true
2015-09-13 14:53:47 -03:00
include:
- env: BUILD_TARGET=coverity_scan
if: branch = coverity_scan
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
2015-09-13 14:53:47 -03:00
before_install:
- eval "${MATRIX_EVAL}"
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
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
script:
- make
2017-01-03 00:34:45 -04:00
addons:
coverity_scan:
project:
name: "PX4/Firmware"
description: "Build submitted via Travis CI"
2017-01-03 00:34:45 -04:00
notification_email: ci@px4.io
build_command_prepend: "make distclean"
build_command: "make posix_sitl_default"
branch_pattern: coverity_scan