travis-ci: record and skip successfully built trees
[git/git.git] / ci / run-linux32-docker.sh
CommitLineData
657343a6
LS
1#!/bin/sh
2#
3# Download and run Docker image to build and test 32-bit Git
4#
5
6. ${0%/*}/lib-travisci.sh
7
8docker pull daald/ubuntu32:xenial
9
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
13
14docker run \
15 --interactive \
16 --env DEVELOPER \
17 --env DEFAULT_TEST_TARGET \
18 --env GIT_PROVE_OPTS \
19 --env GIT_TEST_OPTS \
20 --env GIT_TEST_CLONE_2GB \
21 --volume "${PWD}:/usr/src/git" \
7e72cfce 22 --volume "${HOME}/travis-cache:/tmp/travis-cache" \
657343a6
LS
23 daald/ubuntu32:xenial \
24 /usr/src/git/ci/run-linux32-build.sh $(id -u $USER)
9cc2c76f
SG
25
26save_good_tree