From: Junio C Hamano Date: Thu, 8 Mar 2018 20:36:23 +0000 (-0800) Subject: Merge branch 'sg/travis-build-during-script-phase' X-Git-Tag: v2.17.0-rc0~31 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8 Merge branch 'sg/travis-build-during-script-phase' Build the executable in 'script' phase in Travis CI integration, to follow the established practice, rather than during 'before_script' phase. This allows the CI categorize the failures better ('failed' is project's fault, 'errored' is build environment's). * sg/travis-build-during-script-phase: travis-ci: build Git during the 'script' phase --- c710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8 diff --cc ci/run-build-and-tests.sh index 0000000000,d3a094603f..3735ce413f mode 000000,100755..100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@@ -1,0 -1,15 +1,19 @@@ + #!/bin/sh + # + # Build and test Git + # + + . ${0%/*}/lib-travisci.sh + -ln -s $HOME/travis-cache/.prove t/.prove ++ln -s "$cache_dir/.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