From patchwork Fri Jan 27 19:21:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 92719 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp355337obz; Fri, 27 Jan 2017 11:22:06 -0800 (PST) X-Received: by 10.233.232.194 with SMTP id a185mr9256199qkg.24.1485544926750; Fri, 27 Jan 2017 11:22:06 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h67si4188186qkh.135.2017.01.27.11.22.06; Fri, 27 Jan 2017 11:22:06 -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 016B662E0B; Fri, 27 Jan 2017 19:22:05 +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 67FE060BF8; Fri, 27 Jan 2017 19:22: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 0C3B860D74; Fri, 27 Jan 2017 19:22:00 +0000 (UTC) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by lists.linaro.org (Postfix) with ESMTPS id 1FC97609EE for ; Fri, 27 Jan 2017 19:21:59 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id v186so166984567lfa.1 for ; Fri, 27 Jan 2017 11:21:59 -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; bh=5dMdjtGi4nvfyzUvlZ3InVhGMq+2aCs09+mDPwQqcFs=; b=ms4P4rERxnXJ+YzAK2bnu7KZrNk446j1bBdkg9EjTR/UG3cOnEqGloA8WxQb4XGtvP NMynwQztOVkDN4nDYC7D0q43IYs29S98l5jj/v5FIfFhVt93h96f7xrbsG9v5WJpBRAF weTzAArePZwTIcKWkuP8fEP7MeMkHed3tYnzDvK/RkNDzrl0k3ayamO+sxOJ5+Xb0+Yn g5xeJrEqyX7uDZwdM8UgHG+n4Be+67zmCTnBNmujjbiRSQhmdgCN5s4yvwWEhuAJPufg N9RQyz5aLnFUwHakh1zchgIj4W9RXIT/sH3GBt0xqpE9gA9ENsHi8NuaJnNpMlL2QFGM zPOw== X-Gm-Message-State: AIkVDXL+dQS3AFj6M0AGNEzhEJ4zuao75RMe8WnwJ2lKDgETMFg9qd4KPRMjiHI06fnDYPjFGYM= X-Received: by 10.25.99.29 with SMTP id x29mr3388844lfb.104.1485544917704; Fri, 27 Jan 2017 11:21:57 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id t126sm1506886lff.31.2017.01.27.11.21.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Jan 2017 11:21:57 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 27 Jan 2017 22:21:50 +0300 Message-Id: <20170127192150.9730-1-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce Subject: [lng-odp] [PATCH] travis: several tries to download cunit 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" some time curl fails to download cunit from sf.net or it's mirrors. Try 10 times with 1 second delay. 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 03e61b18..363c1b3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ before_install: # Install cunit for the validation tests because distro version is too old and fails C99 compile - export CUNIT_VERSION=2.1-3 - - curl -sSOL http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 + - for _ in {1..10}; do http://souirceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 && break; sleep 1; done - tar -jxf *.bz2 - cd CUnit* - ./bootstrap