f6a5576d52
Some recent optimizations have been added to pack-objects to reduce memory usage and some code paths are split into two: one for common use cases and one for rare ones. Make sure the rare cases are tested with Travis since it requires manual test configuration that is unlikely to be done by developers. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
23 lines
342 B
Bash
Executable File
23 lines
342 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Build and test Git
|
|
#
|
|
|
|
. ${0%/*}/lib-travisci.sh
|
|
|
|
ln -s "$cache_dir/.prove" t/.prove
|
|
|
|
make --jobs=2
|
|
make --quiet test
|
|
if test "$jobname" = "linux-gcc"
|
|
then
|
|
export GIT_TEST_SPLIT_INDEX=yes
|
|
export GIT_TEST_FULL_IN_PACK_ARRAY=true
|
|
export GIT_TEST_OE_SIZE=10
|
|
make --quiet test
|
|
fi
|
|
|
|
check_unignored_build_artifacts
|
|
|
|
save_good_tree
|