diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2014-09-24 11:13:55 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-09-26 21:04:45 +0400 |
commit | cb021cfee772c916bf73f43010c6c299c3d91800 (patch) | |
tree | 3e3467050cfae30985e2b3a2cbc1e549c8dcb37b /.travis.yml | |
parent | eebf29401abebbe8dba3e8fa8764c05fe4e6c1f1 (diff) |
.travis.yml: pre-seed sub-modules for speed
A significant portion of the build time is spent initialising all the
sub-modules we use in the source tree. Often this is almost as long as
the build itself. By pre-seeding the .git/modules tree this will
hopefully improve things.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Brian Jackson <iggy@theiggy.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index f11333970f..b9025bee42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,11 @@ env: - TARGETS=unicore32-softmmu,unicore32-linux-user # Group remaining softmmu only targets into one build - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,xtensaeb-softmmu +git: + # we want to do this ourselves + submodules: false before_install: + - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive - sudo apt-get update -qq - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS} |