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: