build: Enable coverity scan through travis-ci
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
a0eea59519
commit
26497a9896
43
.travis.yml
43
.travis.yml
@ -1,10 +1,33 @@
|
|||||||
language: c
|
script: ./autogen.sh && ./configure && make
|
||||||
compiler:
|
|
||||||
- gcc
|
env:
|
||||||
- clang
|
global:
|
||||||
before_install:
|
# COVERITY_SCAN_TOKEN
|
||||||
- sudo apt-get install libconfuse-dev
|
# ** specific to your project **
|
||||||
- sudo apt-get install libnl-3-dev libnl-route-3-dev
|
secure: "C87Pgf5AVDoyQfm9MIv81g"
|
||||||
- sudo apt-get install libncurses-dev
|
|
||||||
# Change this to your needs
|
addons:
|
||||||
script: ./.travis/run.sh
|
coverity_scan:
|
||||||
|
|
||||||
|
# GitHub project metadata
|
||||||
|
# ** specific to your project **
|
||||||
|
project:
|
||||||
|
name: tgraf/bmon
|
||||||
|
version: 3.4
|
||||||
|
description: bandwidth monitor
|
||||||
|
|
||||||
|
# Where email notification of build analysis results will be sent
|
||||||
|
notification_email: tgraf@suug.ch
|
||||||
|
|
||||||
|
# Commands to prepare for build_command
|
||||||
|
# ** likely specific to your build **
|
||||||
|
build_command_prepend: ./autogen.sh && ./configure
|
||||||
|
|
||||||
|
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
|
||||||
|
# ** likely specific to your build **
|
||||||
|
build_command: make
|
||||||
|
|
||||||
|
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
|
||||||
|
# Take care in resource usage, and consider the build frequency allowances per
|
||||||
|
# https://scan.coverity.com/faq#frequency
|
||||||
|
branch_pattern: coverity_scan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user