diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82f8eca654be28d38516c4f47ac8de3b220847fa..6ccaf81b86bc607e79301acf8dc99ab0a402ea50 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 before_script:
-  - apt-get update -qq && apt-get install -y wget bzip2 make gcc gcc-multilib time bc
+  - apt-get update -qq && apt-get install -y wget bzip2 make gcc gcc-multilib time bc git
   - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2017/04/cmucl-2017-04-x86-linux.tar.bz2
   - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2017/04/cmucl-2017-04-x86-linux.extra.tar.bz2
   - mkdir snapshot
@@ -9,4 +9,4 @@ test:
   script:
     - bin/build.sh -B boot-2017-04-1 -C "" -o ./snapshot/bin/lisp
     - bin/make-dist.sh -I dist-linux linux-4
-    - bin/run-tests.sh -l dist-linux/bin/lisp
+    - bin/run-tests.sh -l dist-linux/bin/lisp 2>&1 | tee test.log