From patchwork Wed Jul 26 20:00:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 108795 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1206208qge; Wed, 26 Jul 2017 13:01:08 -0700 (PDT) X-Received: by 10.55.111.196 with SMTP id k187mr1949394qkc.80.1501099268033; Wed, 26 Jul 2017 13:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501099268; cv=none; d=google.com; s=arc-20160816; b=VaonqpdTThc9hy/lC3WiiEhKMmhM0s7BNNUcRxfsXvxqWin//1luO5kuRzwJ281z7D Y/T2qemTEIysgNt0ClnRne4Two1kFCwW17tlNwQ6JkyNCnVHNG/Sx/elGdiuUF6aujOz IZ6yIAlvFHRlTwclTOIWos3WIaqmXo6OMskotdKO0kgWVBSHvm196H3xovmOn6/FQJdb Kxglhb+EHTxOy1Ow5Na8aJqV+ZICPQPuihGA5/41SiVDzsyrUt5uBIpwLocGDNV8DVK0 qBDaDmpywJZdRcw6Eew7o0X2eXrLePknKhbJHz1MZqUuZ2qqqKfZe0zXDY+p8Su/dwJQ KRkA== 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=Rv46YPgclUf9Tk8kOMS2CwhKL4AdeSw+v7fGuogXEK0=; b=tjVmHUHAPzH/Hbut1OAU+Q6KAvQ/lxbO4qOif9RHUJO/Le36TI89gGXuxjGrlAGknT XyymlHQpx9OFAu3sstIz+k3ds3fZb697zUxAnuazPIIryEIvk/nFUOElg1i5FB4Mqb/b /e1/e/2lXNKrPHnl6DMvUgshJe+kEbmYZ5BXwUhiObgAmotSUEpLh9BPZN2OzwVAE8i3 H32XZbOAWUQ8mbsYLV9Z58EaQ5iaRcGvCmCzFZMJY568xSrDWJxtRQvgmOjWXLzH799W SSbrrozxytMfWdmgHOKxIBZYwooOkXfNTWOQI7083MQQKxfNE0w34OYPWzNJ1mTFzQpV hlfw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l28si14347628qtb.170.2017.07.26.13.01.06; Wed, 26 Jul 2017 13:01:08 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id A572463E50; Wed, 26 Jul 2017 20:01: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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 4F5FC60A06; Wed, 26 Jul 2017 20:01:01 +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 8390C636A2; Wed, 26 Jul 2017 20:00:58 +0000 (UTC) Received: from forward5h.cmail.yandex.net (forward5h.cmail.yandex.net [87.250.230.20]) by lists.linaro.org (Postfix) with ESMTPS id B92B6636A2 for ; Wed, 26 Jul 2017 20:00:34 +0000 (UTC) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward5h.cmail.yandex.net (Yandex) with ESMTP id 2F336212AA for ; Wed, 26 Jul 2017 23:00:33 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id 6FE873C80F6D for ; Wed, 26 Jul 2017 23:00:29 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Ypt1R5Pkvn-0SHep9l6; Wed, 26 Jul 2017 23:00:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 26 Jul 2017 23:00:12 +0300 Message-Id: <1501099212-4477-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501099212-4477-1-git-send-email-odpbot@yandex.ru> References: <1501099212-4477-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 89 Subject: [lng-odp] [PATCH v1 1/1] travis: enable ccache and pip cache 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 89 (lumag:cache) ** https://github.com/Linaro/odp/pull/89 ** Patch: https://github.com/Linaro/odp/pull/89.patch ** Base sha: f4f7679d16917d9a7c1b2220e351fd27733ee96b ** Merge commit sha: 10251f27bc3e912b3e5e90a086fb925c2d77ac95 **/ .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 42c2c963..d3cbefc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,10 @@ compiler: - gcc - clang-3.8 +cache: + - ccache + - pip + env: - CONF="" - CONF="--disable-abi-compat" @@ -79,6 +83,8 @@ before_install: sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential gcc-"$CROSS_GNU_TYPE" pkg-config-"$CROSS_GNU_TYPE" ; sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" ; fi + - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi + - ccache -s # Install cunit for the validation tests because distro version is too old and fails C99 compile - sudo apt-get remove libcunit1-dev libcunit1 @@ -143,6 +149,7 @@ script: - echo "Static link.." - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux --static` -static - ./odp_hello_inst + - ccache -s jobs: include: