mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
c710d182ea
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
19 lines
271 B
Bash
Executable file
19 lines
271 B
Bash
Executable file
#!/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
|