git-commit-vandalism/ci/run-build-and-tests.sh
Junio C Hamano b0e0fc267b Merge branch 'tg/split-index-fixes' into maint
The split-index mode had a few corner case bugs fixed.

* tg/split-index-fixes:
  travis: run tests with GIT_TEST_SPLIT_INDEX
  split-index: don't write cache tree with null oid entries
  read-cache: fix reading the shared index for other repos
2018-03-22 14:24:10 -07:00

20 lines
277 B
Bash
Executable File

#!/bin/sh
#
# Build and test Git
#
. ${0%/*}/lib-travisci.sh
ln -s $HOME/travis-cache/.prove t/.prove
make --jobs=2
make --quiet test
if test "$jobname" = "linux-gcc"
then
GIT_TEST_SPLIT_INDEX=YesPlease make --quiet test
fi
check_unignored_build_artifacts
save_good_tree