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
This commit is contained in:
19
ci/run-build-and-tests.sh
Executable file
19
ci/run-build-and-tests.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/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
|
Reference in New Issue
Block a user