From patchwork Fri Nov 18 18:34:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 83016 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp237174qge; Fri, 18 Nov 2016 10:35:44 -0800 (PST) X-Received: by 10.55.6.12 with SMTP id 12mr1447799qkg.182.1479494144327; Fri, 18 Nov 2016 10:35:44 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x12si5869645qka.106.2016.11.18.10.35.43; Fri, 18 Nov 2016 10:35:44 -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 BD4886155B; Fri, 18 Nov 2016 18:35:43 +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_H3, RCVD_IN_MSPIKE_WL 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 21CA862F39; Fri, 18 Nov 2016 18:35:24 +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 5CAB261546; Fri, 18 Nov 2016 18:35:07 +0000 (UTC) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by lists.linaro.org (Postfix) with ESMTPS id BBE5A60855 for ; Fri, 18 Nov 2016 18:34:24 +0000 (UTC) Received: by mail-qk0-f177.google.com with SMTP id n204so274705998qke.2 for ; Fri, 18 Nov 2016 10:34:24 -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=D5BpB6HADRnM4x37cGex39qLYevohZx1cxGIi8WmfkU=; b=kCt/lJHLJe1PAPE2qJam05u+AW5wQ71aE5tXU9t6Bvq4ONzFlwSvY8g/89g2rLLeUo svMoie+vUMhpimynKshsXIyIBtampHqQ4htAryskBOHZdBYXhMRiO6NhpVZYMkMV0oD4 uyD+x0RqeNk7kzHgrgXMjfT0q9bl26cBvbLOK039kmaBgzJ9GGxADnaxoXIKU67EPuNo 6KbptC/kXOW1F/d4SZdA4IGwiOR0Uv+QwggeiKpBsBiY7sBqQ+kuHGPKJFwCIXNkEgJ7 6jmSChu6SXtMLtkQrUJvLUXfLG+JzxtfosWHOi07JKRNTEHTnhy741hNnLAlNj478472 fO3g== X-Gm-Message-State: AKaTC00bz3gDMyRJQV7QgTce6yukAuN2jF9+SE2xK88oolanKNzgjqj4DC67zYBpeVJ8LCBQulQ= X-Received: by 10.55.20.224 with SMTP id 93mr1376096qku.306.1479494064412; Fri, 18 Nov 2016 10:34:24 -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 b198sm4635358qkc.42.2016.11.18.10.34.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 10:34:23 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 18 Nov 2016 13:34:22 -0500 Message-Id: <1479494062-17110-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [lng-odp] [PATCH v2] 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 --- v2: Include all the executables in the scan (Maxim) .travis.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/.travis.yml b/.travis.yml index 0d1add3..afcc353 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,17 @@ # 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 +# See https://scan.coverity.com/travis_ci - +env: + global: + # COVERITY_SCAN_TOKEN + # ** specific to your project ** + - secure: "xxxx" language: c compiler: clang @@ -33,3 +42,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 --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example" + build_command: "make" + branch_pattern: coverity_scan