From nobody Wed Nov 5 14:04:49 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 149810253075891.38655098752918; Wed, 21 Jun 2017 20:35:30 -0700 (PDT) Received: from localhost ([::1]:56863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNsu1-00079B-EW for importer@patchew.org; Wed, 21 Jun 2017 23:35:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNss0-0005ly-EK for qemu-devel@nongnu.org; Wed, 21 Jun 2017 23:33:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNsrz-00054Q-E0 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 23:33:24 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:36064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNsrz-00054I-9S for qemu-devel@nongnu.org; Wed, 21 Jun 2017 23:33:23 -0400 Received: by mail-qt0-x244.google.com with SMTP id s33so589600qtg.3 for ; Wed, 21 Jun 2017 20:33:23 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id g39sm247454qtc.12.2017.06.21.20.33.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 20:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yXB5aJynbQFxg7dvVohcL6q7uf3R/09tJFdjMeKML+8=; b=U0Ft9dd59EMmubbP6dvBLzw2U15j/PJqPHLasve1T1On3uGsHwcL15hR5zOgngTTsh YyiQQRbgHkjFW+EikRQqoKRjoCujJmgNeZj4udF7st+ko8oe+50hNPOqbUsrEH86pKBg eqya1iyQQEeQWtxG/1VxMCfvOGYJ+ROHdUXErMbEJ7dMKE0dJJoDHpUh+lqnOXXCennW L8e9EZuGbLCjzsFAqeOmWRv891oGYRl5huyc3JslmgLpUEvi+UuXQIhmrKxSHSsB81eT CEeKZH9cyPcRVZY3/+3UaIlDIaRlUMQu9IcigHsmT0uwFsBnJvQcY+rVGCsW1OhS0D01 JlKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=yXB5aJynbQFxg7dvVohcL6q7uf3R/09tJFdjMeKML+8=; b=pdBi8lcOh/nVIen2mLJj5kgg44ROmZDOl1ZsX9RD1vc796aFaHlx+sOZJQMADtKNM8 UhdyT+5BAziC0Z15vQFUBp5cKy5sAdo8cKVr7tC+aFsa+YEGjrSvqLtdMOjNy7pfOjvp qDq3xhydVTJw7f1Q55jjLIaXkguzojV4XSeBy3dD7rTwlkYPH7uUepxBCSdK8ixso6es KFwg+laEFVZV7X/jG1+m33pL2FPavgyE78d8sSahQ8oM9VG06xpj/4d5/b9R3c+zEG6t G6tVNp1Uu0CpMvESh9sUveIG73bguJriU7nVYgCBLsr3AJPiyVvV9DV6M30O11E5m5Ly GQ6Q== X-Gm-Message-State: AKS2vOwvYY/ujeGs+YXvA5HnrPiGYguMur8BvrnYa7Z9hpI5wOKIOYnA jgHTTDr5KVAMdOAXosA= X-Received: by 10.237.58.102 with SMTP id n93mr496114qte.76.1498102402577; Wed, 21 Jun 2017 20:33:22 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Thu, 22 Jun 2017 00:32:21 -0300 Message-Id: <20170622033231.19344-12-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170622033231.19344-1-f4bug@amsat.org> References: <20170622033231.19344-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH v2 11/21] travis: cache git submodules X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Travis caching uses the branch name to store packed cache, so each new bran= ch will trigger a cache miss and will clone all submodules. Subsequent builds = will benefit from the cache. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62b9dfd2ae..777914f759 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ compiler: cache: ccache: true timeout: 1200 # https://docs.travis-ci.com/user/caching#setting-the-time= out + directories: + - $HOME/qemu/.git/modules addons: apt: packages: @@ -74,7 +76,6 @@ git: before_install: - if [ "$TRAVIS_OS_NAME" =3D=3D "osx" ]; then brew update ; fi - if [ "$TRAVIS_OS_NAME" =3D=3D "osx" ]; then brew install libffi gettex= t glib pixman ; fi - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-see= d.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: - ./configure ${CONFIG} @@ -113,7 +114,6 @@ matrix: before_install: - sudo apt-get update -qq - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive # Plain Trusty Linux User Build - env: CONFIG=3D"--disable-system" @@ -124,7 +124,6 @@ matrix: before_install: - sudo apt-get update -qq - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive # Trusty System build with latest stable clang - sudo: required @@ -142,7 +141,6 @@ matrix: - travis_retry sudo apt-get update -qq - travis_retry sudo apt-get install -qq -y clang-3.9 - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: - ./configure ${CONFIG} || cat config.log @@ -162,7 +160,6 @@ matrix: - travis_retry sudo apt-get update -qq - travis_retry sudo apt-get install -qq -y clang-3.9 - sudo apt-get build-dep -qq qemu - - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: - ./configure ${CONFIG} || cat config.log --=20 2.11.0