summaryrefslogtreecommitdiff
path: root/ci/run-build-and-tests.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-08 20:36:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-08 20:36:23 (GMT)
commitc710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8 (patch)
tree7a99759b9628f9391c13683f354e7cedf88c292b /ci/run-build-and-tests.sh
parentc6284da4ff4afbde8211efe5d03f3604b1c6b9d6 (diff)
parent3c93b82920506a62ebdf3b6453d91b44aae0be97 (diff)
downloadgit-c710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8.zip
git-c710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8.tar.gz
git-c710d182ea6d3846f6f2dc6f1b6c7dbd35c2fce8.tar.bz2
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
Diffstat (limited to 'ci/run-build-and-tests.sh')
-rwxr-xr-xci/run-build-and-tests.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh
new file mode 100755
index 0000000..3735ce4
--- /dev/null
+++ b/ci/run-build-and-tests.sh
@@ -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