From patchwork Mon Nov 7 21:22:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 81186 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1224663qge; Mon, 7 Nov 2016 13:22:52 -0800 (PST) X-Received: by 10.237.43.165 with SMTP id e34mr9099531qtd.147.1478553772073; Mon, 07 Nov 2016 13:22:52 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t64si17001088qkf.131.2016.11.07.13.22.51; Mon, 07 Nov 2016 13:22:52 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5ECAB60A12; Mon, 7 Nov 2016 21:22:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7D4C160949; Mon, 7 Nov 2016 21:22:47 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0A11060956; Mon, 7 Nov 2016 21:22:46 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by lists.linaro.org (Postfix) with ESMTPS id 0E23F6092D for ; Mon, 7 Nov 2016 21:22:45 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id x190so191926520qkb.0 for ; Mon, 07 Nov 2016 13:22:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ffsb461jXpf5niS4oKfIgzCrEJqVbh01x6pSuK0jVww=; b=gbWQE34FHTq7gOAe+gjvojEUB+m3C5QvXurP5gllW84QTpjtFY/5YAywWZvJl6O4/9 35UYCVJJhE5T10aG5NJUoK3vka7t+Ax1bVipaaAteBBf1AKxSWlWIh5FlakwarYImrOS D25hsSaCNH/HMrvfIFr0lM/7m6voYkm5THr0CHPTSaHsuRL2+2SmJb/G0XFpq6xYqfi9 Q9FUkx5HtDXau5R70YcEGV6VxrxAC6AtBETFmVjw40Rd72+Whyr9Srozhk20MbYQ4401 FBNYx5yUvISi+DrFc4H7XRhXl+qCLZOe79Xt1tT+7pD9fNX5VnzirrsfBgUts51Odr1o eX6Q== X-Gm-Message-State: ABUngvffHTqEyjSYMdz3QB/dJtraXkHLgVO8bt94UYi6MuOYg9MpU4gwHMwdyw50oME39pLOaHw= X-Received: by 10.55.189.199 with SMTP id n190mr5508197qkf.139.1478553764645; Mon, 07 Nov 2016 13:22:44 -0800 (PST) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id n128sm17470751qka.49.2016.11.07.13.22.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 13:22:44 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 7 Nov 2016 16:22:42 -0500 Message-Id: <1478553762-16270-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [PATCH] travis.yml: add coverity support X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Enables static analysis when pushing to a branch coverity_scan on github See https://scan.coverity.com/travis_ci Signed-off-by: Mike Holmes --- .travis.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/.travis.yml b/.travis.yml index 0d1add3..26f9082 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,16 @@ # Copyright (c) 2016, Linaro Limited # All rights reserved. # SPDX-License-Identifier: BSD-3-Clause +# +# Please update xxxx for your coverity token and notification email if required +# pushing to github/master will run make check +# pushing to github/coverity_scan will also launch a static analysis - +env: + global: + # COVERITY_SCAN_TOKEN + # ** specific to your project ** + - secure: "xxxx" language: c compiler: clang @@ -33,3 +41,12 @@ script: - make check - make doxygen-doc - make distcheck + +addons: + coverity_scan: + project: + name: "$TRAVIS_REPO_SLUG" + notification_email: xxxx + build_command_prepend: "./bootstrap && ./configure" + build_command: "make" + branch_pattern: coverity_scan