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