summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-03-26 13:35:41 -0700
committerEric Anholt <eric@anholt.net>2019-03-28 13:55:22 -0700
commit2a2f0ac3a99f32e6e5cc23003360534400d8f445 (patch)
treecdb84654e1daca23c8632db3f3579da5fb752189 /.gitlab-ci
parent0dc271690b0841473e442ffbf97464876234a7c8 (diff)
gitlab-ci: Make shallow clones of git trees we'll be nuking at the end.
We only check out master, and delete .git when we're done, so save the bandwidth. Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/debian-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index ce88f4f3b..28a2afad4 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -15,9 +15,9 @@ apt-get build-dep -y xorg-server
cd /root
-git clone https://gitlab.freedesktop.org/mesa/piglit.git
+git clone https://gitlab.freedesktop.org/mesa/piglit.git --depth 1
-git clone https://gitlab.freedesktop.org/xorg/test/xts
+git clone https://gitlab.freedesktop.org/xorg/test/xts --depth 1
cd xts
./autogen.sh
xvfb-run make -j$(nproc)