summaryrefslogtreecommitdiff
path: root/ci/run-linux32-build.sh
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2017-12-27 16:36:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-27 20:15:05 (GMT)
commit7e72cfceed2e1e74e6bbe8ab41cacda4a66b0e4a (patch)
treedc0693ff904d6b66601fef835f0594f348d82d70 /ci/run-linux32-build.sh
parent2c9a2dd0cd970816a1ddf63d9ef7a086e3202f7d (diff)
downloadgit-7e72cfceed2e1e74e6bbe8ab41cacda4a66b0e4a.zip
git-7e72cfceed2e1e74e6bbe8ab41cacda4a66b0e4a.tar.gz
git-7e72cfceed2e1e74e6bbe8ab41cacda4a66b0e4a.tar.bz2
travis-ci: save prove state for the 32 bit Linux build
This change follows suit of 6272ed319 (travis-ci: run previously failed tests first, then slowest to fastest, 2016-01-26), which did this for the Linux and OSX build jobs. Travis CI build jobs run the tests parallel, which is sligtly faster when tests are run in slowest to fastest order, shortening the overall runtime of this build job by about a minute / 10%. Note, that the 32 bit Linux build job runs the tests suite in a Docker container and we have to share the Travis CI cache directory with the container as a second volume. Otherwise we couldn't use a symlink pointing to the prove state file in the cache directory, because that's outside of the directory hierarchy accessible from within the container. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Reviewed-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/run-linux32-build.sh')
-rwxr-xr-xci/run-linux32-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/run-linux32-build.sh b/ci/run-linux32-build.sh
index a8518ed..c19c50c 100755
--- a/ci/run-linux32-build.sh
+++ b/ci/run-linux32-build.sh
@@ -27,6 +27,7 @@ test -z $HOST_UID || (CI_USER="ci" && useradd -u $HOST_UID $CI_USER) &&
# Build and test
linux32 --32bit i386 su -m -l $CI_USER -c '
cd /usr/src/git &&
+ ln -s /tmp/travis-cache/.prove t/.prove &&
make --jobs=2 &&
make --quiet test
'