From patchwork Tue Feb 14 20:31:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93976 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1602247obz; Tue, 14 Feb 2017 12:32:56 -0800 (PST) X-Received: by 10.107.147.134 with SMTP id v128mr26629859iod.75.1487104376394; Tue, 14 Feb 2017 12:32:56 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j25si1944930iti.119.2017.02.14.12.32.56; Tue, 14 Feb 2017 12:32:56 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id DE94E63506; Tue, 14 Feb 2017 20:32:55 +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, URIBL_BLOCKED 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 BA66A62C30; Tue, 14 Feb 2017 20:32:30 +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 8967B60EE7; Tue, 14 Feb 2017 20:32:24 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by lists.linaro.org (Postfix) with ESMTPS id 4D69560A3B for ; Tue, 14 Feb 2017 20:32:23 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id n124so71880163lfd.2 for ; Tue, 14 Feb 2017 12:32:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZT5k1sOHb981i5n3ekbRoNrAzYsfi600GqYkpsy2WDI=; b=LSW3qGVlYwccmfGdugsA9QUi4lFSqHYTzWBfVMKtJEuNEdcojyhffO07QSNr9e3qbT pV6I9I9E2Nv1xXAV4zddGR9/riqYaDoOnLjQbWXfVvhlNRRTIgRkpNonTj+SAEQTeFJ2 gRAzUHsNceU7FpmdaG7go8oK4SFZEfGflOonzDFBELA8gFsvYfkGF6pc8TuiNbNgzib/ C0PySa6ceWP6Cjapc4ZhL6aZOHqJrbntuEX4YVesNpnsmvptjhL3RBTmk/enTpJzO6vr QilVAMAxqwPFCw2RnFpvpa/HC5j6vJ9pk9QXffUFxNKj48roCR6WPHoywPNYiA3+YnHa wqfA== X-Gm-Message-State: AMke39nSk/Gpkm7v9UNoQQFv4JgYl4Rj462jrGFJk19PFHAAPVgWAJCxIK15EkWOdca2CY4jpxo= X-Received: by 10.25.24.156 with SMTP id 28mr9820011lfy.162.1487104341927; Tue, 14 Feb 2017 12:32:21 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id z82sm404082lfa.8.2017.02.14.12.32.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 12:32:21 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 14 Feb 2017 23:31:58 +0300 Message-Id: <20170214203202.13342-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170214203202.13342-1-maxim.uvarov@linaro.org> References: <20170214203202.13342-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 1/5] travis: switch to ubuntu trusty 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" ubuntu trusty has updated doxygen 1.8.4 which is the same stable version 1.8 which is described in DEPENDANCIES file. Now doxygen do not generate any warnings. Compiler version stays the same 4.8 for gcc. Signed-off-by: Maxim Uvarov --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 2.11.0.295.gd7dffce Reviewed-by: Mike Holmes diff --git a/.travis.yml b/.travis.yml index e29233ec..a2e0a46a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ language: c sudo: required +dist: trusty env: global: # COVERITY_SCAN_TOKEN @@ -35,13 +36,13 @@ env: matrix: include: - - compiler: gcc-4.8 + - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - - gcc-4.8 + - gcc env: MY_CF="-O0 -coverage" MY_LDF="--coverage" DOCOV=1 - compiler: clang addons: @@ -62,6 +63,7 @@ before_install: - PATH=${PATH//:\.\/node_modules\/\.bin/} # Install cunit for the validation tests because distro version is too old and fails C99 compile + - sudo apt-get remove libcunit1-dev libcunit1 - export CUNIT_VERSION=2.1-3 - curl -sSOL http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 - tar -jxf *.bz2 @@ -125,7 +127,7 @@ script: - sudo rm -rf $KSRC after_success: - - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov-4.8 {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi + - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi addons: coverity_scan: From patchwork Tue Feb 14 20:31:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93977 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1602421obz; Tue, 14 Feb 2017 12:33:24 -0800 (PST) X-Received: by 10.36.81.65 with SMTP id s62mr5539248ita.33.1487104403999; Tue, 14 Feb 2017 12:33:23 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a22si1946291itb.97.2017.02.14.12.33.23; Tue, 14 Feb 2017 12:33:23 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 75E9D62D78; Tue, 14 Feb 2017 20:33:23 +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, URIBL_BLOCKED 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 180E4634CE; Tue, 14 Feb 2017 20:32:33 +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 5AC2A62C30; Tue, 14 Feb 2017 20:32:26 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 718A8608CB for ; Tue, 14 Feb 2017 20:32:24 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id v186so72018666lfa.1 for ; Tue, 14 Feb 2017 12:32:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vw/heUxjTDLbXnwjJuNXocDwUD+sUA80mz+FZ60CfwQ=; b=Gvzp5p+1/ESELdj0wZLbgs7WVJpEsBR2K1Vjk5ls2XbUKKQYZm+aHweOWDtqudzcW0 r7vDIW9WS/2lBxgcaDze7dN6qTE13m3BX9rutr28QZIBhUF0MfakEqNSZX54W9iOmtTQ WOwpj/0olJHe6aDxwI/4ctcBlQgqSDmXmcLsfUs906QdzGe7TjLXwG29TxvV7r1cgDef 6KRmRyAeDO3NJnqJwrKjKUzoiAC9KEkMMZ0SJZ9EZU69FvsV3U7vtYHu/DJTTq6kT61H novWsYWbNeVesnb6Dg4RY1Pe7V/21GjSDU3aqKSdUoZZbiAFkfy0uYDYo5cirtr+Cfh1 KZtw== X-Gm-Message-State: AMke39kZnT0OSO+BnFiiOvHV+GzLIew3wbgfup4sULMukhKv4803y/NoMilF0igQRR3mtwUb2mg= X-Received: by 10.25.198.6 with SMTP id w6mr10368059lff.175.1487104342981; Tue, 14 Feb 2017 12:32:22 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id z82sm404082lfa.8.2017.02.14.12.32.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 12:32:22 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 14 Feb 2017 23:31:59 +0300 Message-Id: <20170214203202.13342-3-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170214203202.13342-1-maxim.uvarov@linaro.org> References: <20170214203202.13342-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 2/5] travis: clang 3.8 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" Signed-off-by: Maxim Uvarov --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.11.0.295.gd7dffce Reviewed-by: Mike Holmes diff --git a/.travis.yml b/.travis.yml index a2e0a46a..9e7471c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,8 +47,11 @@ matrix: - compiler: clang addons: apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-precise-3.8 packages: - - clang + - clang-3.8 before_install: - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages @@ -61,6 +64,7 @@ before_install: - sudo pip install coverage - gem install asciidoctor - PATH=${PATH//:\.\/node_modules\/\.bin/} + - if [ "$CC" = "clang" ]; then export CXX="clang++-3.8" CC="clang-3.8" LD="clang-3.8"; fi # Install cunit for the validation tests because distro version is too old and fails C99 compile - sudo apt-get remove libcunit1-dev libcunit1 From patchwork Tue Feb 14 20:32:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93978 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1602597obz; Tue, 14 Feb 2017 12:33:54 -0800 (PST) X-Received: by 10.107.172.7 with SMTP id v7mr31309309ioe.49.1487104434304; Tue, 14 Feb 2017 12:33:54 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r30si1979080ioi.31.2017.02.14.12.33.53; Tue, 14 Feb 2017 12:33:54 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C40A7634C7; Tue, 14 Feb 2017 20:33:53 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED 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 7EF9363500; Tue, 14 Feb 2017 20:32:48 +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 5D676634BE; Tue, 14 Feb 2017 20:32:45 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by lists.linaro.org (Postfix) with ESMTPS id AF70A61066 for ; Tue, 14 Feb 2017 20:32:25 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id z134so71939037lff.3 for ; Tue, 14 Feb 2017 12:32:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ghwp/rw3V2n8YZrls/EzsCNKNcR8GRcUqdmpVu33bZo=; b=qzFcMlgR+NqjM0zThGML0yOHC53OblAfSc+ZnGVYn9tPpKgB9WlA+aGObjyXkFcFGK Eh4RWb0/rVAXSdc6wJTEHxVxDqj2CmG+vDGKlmyhnabYlXbF1PMiIf3zo+6zA0OlR+Ty 1DOESw4at0o9Ags8bLaWUwZ4EeXC5pA6ckKHsikpezV+UpC6Rmn90fg7ArpzySmpWx6B u7d10QF2f1VpaHnHKya+4piOqk+eqoTSPjGreLluNCSSbS1znfaKJcMfK6qzDvsjsGvj 70HbYeopJEad9Uka4foYnCaP+klCh3521Gn+pPtObAao+lIYWtDaJdcNfBxNRz4w6t3Y qoGA== X-Gm-Message-State: AMke39m/WkOBOExsJQtfuRm2HRD7i4ya2bx3toMBFdIq07+9lZZRHLkk0JilchMGiE8MI3kAhAw= X-Received: by 10.25.79.71 with SMTP id a7mr10700645lfk.67.1487104344368; Tue, 14 Feb 2017 12:32:24 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id z82sm404082lfa.8.2017.02.14.12.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 12:32:23 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 14 Feb 2017 23:32:00 +0300 Message-Id: <20170214203202.13342-4-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170214203202.13342-1-maxim.uvarov@linaro.org> References: <20170214203202.13342-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 3/5] travis: catch doxygen errors 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" make doxygen-doc does not return negative code on errors. Do it manually. Signed-off-by: Maxim Uvarov --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.11.0.295.gd7dffce Reviewed-by: Mike Holmes diff --git a/.travis.yml b/.travis.yml index 9e7471c2..1ab943fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,7 +119,9 @@ script: - ./bootstrap - ./configure - - make doxygen-doc +# doxygen does not trap on warnings, check for them here. + - make doxygen-doc |tee doxygen.log + - fgrep -rvq warning ./doxygen.log - make distcheck - ./bootstrap From patchwork Tue Feb 14 20:32:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93979 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1602860obz; Tue, 14 Feb 2017 12:34:36 -0800 (PST) X-Received: by 10.36.120.73 with SMTP id p70mr5393606itc.115.1487104476770; Tue, 14 Feb 2017 12:34:36 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 21si1958444iou.159.2017.02.14.12.34.36; Tue, 14 Feb 2017 12:34:36 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 313F362D7D; Tue, 14 Feb 2017 20:34:36 +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, URIBL_BLOCKED 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 5BF6561066; Tue, 14 Feb 2017 20:32:55 +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 A70A863503; Tue, 14 Feb 2017 20:32:51 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by lists.linaro.org (Postfix) with ESMTPS id 594AE608CB for ; Tue, 14 Feb 2017 20:32:27 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id n124so71880874lfd.2 for ; Tue, 14 Feb 2017 12:32:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3iiyTMTqya6F7BJpNCFQnEnW1P4CHBgpo4nZ937SAYs=; b=Aq+91y6TTNjO/hTbrHNB+dXZbuEr6DGpEOM9dV29U2bFsYJAiK4gZMc5FuStZFaKkB Cdm4IYHqQTRFCfPYLPzjPDfw8OmpKfSeB/WJeGWHKysqoAC+zUIf2DjMUUglEBJjvYsG 3fHlXye/+l2rCh+OnO5tdI/NW2fiwvBPNgoevIq6b3WwrAPYXb3uUdboElxapGUQHWCw cAAnQ0bd6cXOjQDa8ycNSamdAKl3tmm2I6kjgIw3vH7wdyXZ1rtt3M8zBkA83isN9mCZ NaJQYisDASn7IpelXVjaYgSACjA27kOGvutGh9Ej+jPgogq75o5m847iiqT1JbXlY7qS yJFA== X-Gm-Message-State: AMke39l8Vgy2PNebuO0wyeO3eIyGbeactBZBsQFanLp7mJOD94d3mbX5L/OHAh9pM9pnGuoIQ7E= X-Received: by 10.25.199.66 with SMTP id x63mr10710050lff.161.1487104345866; Tue, 14 Feb 2017 12:32:25 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id z82sm404082lfa.8.2017.02.14.12.32.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 12:32:24 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 14 Feb 2017 23:32:01 +0300 Message-Id: <20170214203202.13342-5-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170214203202.13342-1-maxim.uvarov@linaro.org> References: <20170214203202.13342-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 4/5] travis: do not post codecov tests for not official repo 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" Github may allow administrators in Linaro github group post codecov from their local repositories. That happens if same token is used for personal git and Linaro group. There is one small side affect that history of tests fill web page of Linaro official project. To make history more clean post codecov results only for main repo. Signed-off-by: Maxim Uvarov --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0.295.gd7dffce diff --git a/.travis.yml b/.travis.yml index 1ab943fe..ef9c3283 100644 --- a/.travis.yml +++ b/.travis.yml @@ -133,7 +133,7 @@ script: - sudo rm -rf $KSRC after_success: - - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi + - if [ -n "$DOCOV" ] && [ "$TRAVIS_REPO_SLUG" = "Linaro/odp" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi addons: coverity_scan: From patchwork Tue Feb 14 20:32:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93980 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1603078obz; Tue, 14 Feb 2017 12:35:07 -0800 (PST) X-Received: by 10.36.252.197 with SMTP id b188mr5370683ith.53.1487104507186; Tue, 14 Feb 2017 12:35:07 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c68si1971500ioj.90.2017.02.14.12.35.06; Tue, 14 Feb 2017 12:35:07 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A997E61066; Tue, 14 Feb 2017 20:35:06 +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, URIBL_BLOCKED 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 A1E0C62C30; Tue, 14 Feb 2017 20:33:02 +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 2B40263506; Tue, 14 Feb 2017 20:32:54 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by lists.linaro.org (Postfix) with ESMTPS id F24A362C3D for ; Tue, 14 Feb 2017 20:32:27 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id z134so71939407lff.3 for ; Tue, 14 Feb 2017 12:32:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tj1UTngXRH3iWDy8Ywreh7FBDydS+jO/3PhK7wl+ZIc=; b=VL6W9cH/wto72NLggMOtbs8Da2Lo/N15O3U6sqsP0x6krurIrwtbWAz2eVzvVDJu6M Zs8rSUfVFaOGOW55cFGjHCdWKUNtGuMyStCSO8PQgx+KYWx7LTDXMjOcSxcogl9/QV7Z rIDpW1M9ySrI6WVkwz9heC48d2Hzij7yQqkRmLfAUmeqp9USKN72Yq3Lf5pGdHJU9xT2 DrJNMEwzYuKdLhQwWUvPNA0re+zXP+OBAqMixjwzG84xABEvrWeYRLc+1b2O6VDQz/0Q re6D4Iw9De4cHLMqF9CdVls0pC1CU8M8iQDau02gew5XD+iXtPP7+1nphh6oxmLd7f1+ T/Pw== X-Gm-Message-State: AMke39kUHg5eN/t7fevapvBc2mEUvT1NoNmLM6DIbUgMDLuSFvRrfkxjesL3DSEA+ut2Mcv3pNw= X-Received: by 10.25.227.14 with SMTP id a14mr8375942lfh.43.1487104346961; Tue, 14 Feb 2017 12:32:26 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id z82sm404082lfa.8.2017.02.14.12.32.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 12:32:26 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 14 Feb 2017 23:32:02 +0300 Message-Id: <20170214203202.13342-6-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170214203202.13342-1-maxim.uvarov@linaro.org> References: <20170214203202.13342-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 5/5] travis: check odp license agreement 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" Signed-off-by: Maxim Uvarov --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) -- 2.11.0.295.gd7dffce diff --git a/.travis.yml b/.travis.yml index ef9c3283..d7f4c66e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,6 +100,9 @@ before_install: - make > /dev/null - sudo insmod ./netmap.ko - popd +# Download tool to check odp contibutor agreement + - git clone https://git.linaro.org/people/maxim.uvarov/odp-agreement.git + script: - echo $TRAVIS_COMMIT_RANGE @@ -112,9 +115,11 @@ script: if [ $? -ne 0 ]; then git format-patch HEAD^; perl ./scripts/checkpatch.pl *.patch; + ./odp-agreement/check_patchlist.sh *.patch; fi; else perl ./scripts/checkpatch.pl *.patch; + ./odp-agreement/check_patchlist.sh *.patch; fi - ./bootstrap