qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Fam Zheng" <famz@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [Qemu-devel] [PATCH v2 11/21] travis: cache git submodules
Date: Thu, 22 Jun 2017 00:32:21 -0300	[thread overview]
Message-ID: <20170622033231.19344-12-f4bug@amsat.org> (raw)
In-Reply-To: <20170622033231.19344-1-f4bug@amsat.org>

Travis caching uses the branch name to store packed cache, so each new branch
will trigger a cache miss and will clone all submodules. Subsequent builds will
benefit from the cache.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 .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-timeout
+  directories:
+  - $HOME/qemu/.git/modules
 addons:
   apt:
     packages:
@@ -74,7 +76,6 @@ git:
 before_install:
   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
-  - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.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-git-seed.tar.xz | tar -xvJ
         - git submodule update --init --recursive
     # Plain Trusty Linux User Build
     - env: CONFIG="--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-git-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-git-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-git-seed.tar.xz | tar -xvJ
         - git submodule update --init --recursive
       before_script:
         - ./configure ${CONFIG} || cat config.log
-- 
2.11.0

  parent reply	other threads:[~2017-06-22  3:33 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22  3:32 [Qemu-devel] [PATCH v2 00/21] travis: speedup to reduce failures Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 01/21] tests: add missing dependency to build QTEST_QEMU_BINARY Philippe Mathieu-Daudé
2017-06-22  9:55   ` Alex Bennée
2017-06-23 18:43     ` Philippe Mathieu-Daudé
2017-06-22 13:00   ` Stefan Hajnoczi
2017-06-23 19:27   ` John Snow
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 02/21] travis: retry if llvm.org timeouts Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 03/21] travis: install more library dependencies Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 04/21] " Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 05/21] scripts/run-coverity-scan: Script to run Coverity Scan build Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 06/21] travis: Add config to do a Coverity Scan upload Philippe Mathieu-Daudé
2017-06-22  9:56   ` Alex Bennée
2017-06-23 13:32     ` Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 07/21] travis: update sudo-enabled Trusty images Philippe Mathieu-Daudé
2017-06-22  9:58   ` Alex Bennée
2017-06-23 13:35     ` Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 08/21] travis: use gcc-6 sanitizers Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 09/21] travis: enable multiple caching features Philippe Mathieu-Daudé
2017-06-22 10:16   ` Alex Bennée
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 10/21] travis: increase S3 cache timeout Philippe Mathieu-Daudé
2017-06-22 10:17   ` Alex Bennée
2017-06-22  3:32 ` Philippe Mathieu-Daudé [this message]
2017-06-22 10:17   ` [Qemu-devel] [PATCH v2 11/21] travis: cache git submodules Alex Bennée
2017-06-22 13:51     ` Alex Bennée
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 12/21] travis: build using all available cores Philippe Mathieu-Daudé
2017-06-22 10:21   ` Alex Bennée
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 13/21] travis: improve ccache use Philippe Mathieu-Daudé
2017-06-22 10:22   ` Alex Bennée
2017-06-23 13:41     ` Philippe Mathieu-Daudé
2017-06-22 10:57   ` Paolo Bonzini
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 14/21] travis: dump config.log if ./configure script fails Philippe Mathieu-Daudé
2017-06-22 10:23   ` Alex Bennée
2017-06-23 13:45     ` Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 15/21] travis: retry when git submodules initialization fails Philippe Mathieu-Daudé
2017-06-22 10:24   ` Alex Bennée
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 16/21] travis: split the gprof/gcov job Philippe Mathieu-Daudé
2017-06-22 10:24   ` Alex Bennée
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 17/21] travis/osx: don't update Homebrew cache Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 18/21] travis/osx: silent texinfo warnings Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 19/21] travis/osx: build using more Xcode versions Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [PATCH v2 20/21] MAINTAINERS: self-appoint me as reviewer in build/test automation Philippe Mathieu-Daudé
2017-06-22  3:32 ` [Qemu-devel] [RFC PATCH v2 21/21] ui/vnc: silent unuseful OSX clang warning Philippe Mathieu-Daudé
2017-06-22  7:28   ` Peter Maydell
2017-06-22  7:33   ` Gerd Hoffmann
2017-06-22  7:35     ` Peter Maydell
2017-06-22 13:50       ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170622033231.19344-12-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=alex.bennee@linaro.org \
    --cc=famz@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).