Merge branch 'sg/travis-build-during-script-phase'
authorJunio C Hamano <gitster@pobox.com>
Thu, 8 Mar 2018 20:36:23 +0000 (12:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Mar 2018 20:36:23 +0000 (12:36 -0800)
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

1  2 
ci/run-build-and-tests.sh
index 0000000000000000000000000000000000000000,d3a094603f030752ccb8bd49dd5d855a3a10c36c..3735ce413f1835b3222fab05ba9ff5ab5205c2c0
mode 000000,100755..100755
--- /dev/null
@@@ -1,0 -1,15 +1,19 @@@
 -ln -s $HOME/travis-cache/.prove t/.prove
+ #!/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
++      GIT_TEST_SPLIT_INDEX=YesPlease make --quiet test
++fi
+ check_unignored_build_artifacts
+ save_good_tree