ci: add optional test variables
[git/git.git] / ci / run-build-and-tests.sh
CommitLineData
657343a6
LS
1#!/bin/sh
2#
3c93b829 3# Build and test Git
657343a6
LS
4#
5
6. ${0%/*}/lib-travisci.sh
7
b2cbaa09
SG
8ln -s "$cache_dir/.prove" t/.prove
9
3c93b829 10make --jobs=2
657343a6 11make --quiet test
ae59a4e4
TG
12if test "$jobname" = "linux-gcc"
13then
f6a5576d
NTND
14 export GIT_TEST_SPLIT_INDEX=yes
15 export GIT_TEST_FULL_IN_PACK_ARRAY=true
16 export GIT_TEST_OE_SIZE=10
9ac3f0e5 17 export GIT_TEST_OE_DELTA_SIZE=5
97164c9f
DS
18 export GIT_TEST_COMMIT_GRAPH=1
19 export GIT_TEST_MULTI_PACK_INDEX=1
f6a5576d 20 make --quiet test
ae59a4e4 21fi
9cc2c76f 22
b92cb86e
SG
23check_unignored_build_artifacts
24
9cc2c76f 25save_good_tree