format-patch: add --interdiff option to embed diff in cover letter
[git.git] / ci / run-linux32-docker.sh
blob21637903ce0790b1689907f64cca302b32285028
1 #!/bin/sh
3 # Download and run Docker image to build and test 32-bit Git
6 . ${0%/*}/lib-travisci.sh
8 docker pull daald/ubuntu32:xenial
10 # Use the following command to debug the docker build locally:
11 # $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
12 # root@container:/# /usr/src/git/ci/run-linux32-build.sh <host-user-id>
14 container_cache_dir=/tmp/travis-cache
16 docker run \
17 --interactive \
18 --env DEVELOPER \
19 --env DEFAULT_TEST_TARGET \
20 --env GIT_PROVE_OPTS \
21 --env GIT_TEST_OPTS \
22 --env GIT_TEST_CLONE_2GB \
23 --env cache_dir="$container_cache_dir" \
24 --volume "${PWD}:/usr/src/git" \
25 --volume "$cache_dir:$container_cache_dir" \
26 daald/ubuntu32:xenial \
27 /usr/src/git/ci/run-linux32-build.sh $(id -u $USER)
29 check_unignored_build_artifacts
31 save_good_tree