mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
![Junio C Hamano](/assets/img/avatar_default.png)
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
20 lines
271 B
Bash
Executable file
20 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
|