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>
This commit is contained in:
Eric Anholt 2019-03-26 13:35:41 -07:00
parent 0dc271690b
commit 2a2f0ac3a9
1 changed files with 2 additions and 2 deletions

View File

@ -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)