From patchwork Mon Aug 27 23:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145220 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp487596ljw; Mon, 27 Aug 2018 16:01:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ/Q6PsiNeRzAzY+iM+rdodyRLEqLzYgMHYhecVLDBs+DvZze/Hp5gmxItfdaYud1wAGjVL X-Received: by 2002:a37:6c07:: with SMTP id h7-v6mr15446909qkc.185.1535410885085; Mon, 27 Aug 2018 16:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535410885; cv=none; d=google.com; s=arc-20160816; b=AG6dpSDQVDVJCcwOdy1GSfCUlgmYFA39GJ5rTlU0BosP9FpmBSPAj/uaxBo9z4p+8M B+Me8dez71LCAf+DrzFDqF1P3j7XySaJJiKBz8QE5PzzXlGIrQyiMnasdLHRkZxTN2nX AUukd3vd8RJwqVgZ2J/BnKzFqUQUcCCXt+8aUc8dBaSeKSS5Y0eicIWKmiPa0OFTroCp KayhNgR3OpoTkgVmyjETtDRguccMFlV8zX0YgJpaY0ykmO7XrH6Tdcil2gWm8gfiedwg yxmUhl4wLZqATBG2SbpZl+CbOIsvr8V6Iq0LwVd8ReJBM1XBEQOkonL036hS/PEmQOyK dyUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=bQMGDn5sRxvuxxxwWdg3ac2QSqtH4ywMIsj6uuDMe1g=; b=oCS8Ou5d+s1I2D2SQdR0zayf1onkzET14SWAFpb/orSaeyMc33frU8HdFXSNER2nQz Vu4u+9j9q8DB5xtPxQRN37F6AGTcvWur5UWq889L2/t6LSrmhh04/dzPFWEGDIMX2WG/ NmCJbD2tBzYjKLzox/Iqs0mUTd4njAomVw/tGVm9BS7MkP99sjM7qq2YiPEy9UWnUUm+ V4UjucVhEM1h2IjT+xdSc8IhRVVoaUUFEEu4Sf7UuULiCQ7gvpyrPBTVU7WTO55GodNV NF3yKplCn52+T6YL9JWeGekyHIc8Uc0rZirXhsjMVROG0LV/nDd63ohG18mr2Dqm6arX 07XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id i37-v6si539294qti.112.2018.08.27.16.01.24; Mon, 27 Aug 2018 16:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id B81E968680; Mon, 27 Aug 2018 23:01:24 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 F18556865A; Mon, 27 Aug 2018 23:00: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 3A91A68665; Mon, 27 Aug 2018 23:00:18 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 20FFE68617 for ; Mon, 27 Aug 2018 23:00:14 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward103p.mail.yandex.net (Yandex) with ESMTP id B44BA2184596 for ; Tue, 28 Aug 2018 02:00:12 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id r5EubWMOJe-0C586sjq; Tue, 28 Aug 2018 02:00:12 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rCYiipQZbT-0BD0ggnE; Tue, 28 Aug 2018 02:00:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 27 Aug 2018 23:00:03 +0000 Message-Id: <1535410807-29034-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> References: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v5 4/8] travis: move netmap to install stage 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 681 (lumag:travis-xenial) ** https://github.com/Linaro/odp/pull/681 ** Patch: https://github.com/Linaro/odp/pull/681.patch ** Base sha: 6ce60cac1fea6d65803740f5f9b6627abf6814b3 ** Merge commit sha: 8c5d835ef3fbc6ab78503945fef582f7c60ac2c9 **/ .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4853b48c5..851d47ab0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,14 +68,7 @@ compiler: install: - sudo apt-get install linux-headers-`uname -r` -script: - - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - - if [ -n "${CROSS_ARCH}" ] ; then - docker run -i -t -v `pwd`:/odp - -e CC="${CC}" - -e CONF="${CONF}" - ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/build_${CROSS_ARCH}.sh ; - else + - if [ -z "${CROSS_ARCH}" ] ; then echo "compilling netmap"; CDIR=`pwd` ; git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git; @@ -85,6 +78,15 @@ script: popd; sudo insmod ./netmap/LINUX/netmap.ko; CONF="$CONF --with-netmap-path=/odp/netmap"; + fi +script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi + - if [ -n "${CROSS_ARCH}" ] ; then + docker run -i -t -v `pwd`:/odp + -e CC="${CC}" + -e CONF="${CONF}" + ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/build_${CROSS_ARCH}.sh ; + else echo "Running test" ; docker run --privileged -i -t -v `pwd`:/odp --shm-size 8g