]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | docker 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 | ||
14 | docker 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" \ | |
22 | daald/ubuntu32:xenial \ | |
23 | /usr/src/git/ci/run-linux32-build.sh $(id -u $USER) |