]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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 73e273fac73c48b4963e7aa7c5040f17f220b7da,d3a094603f030752ccb8bd49dd5d855a3a10c36c..3735ce413f1835b3222fab05ba9ff5ab5205c2c0
@@@ -5,13 -5,10 +5,14 @@@
  
  . ${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