diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b429e53680452ba02eee3952877124516cb56cd..7cbc964d8aa4f2f38e683f016a84c67dc2eeb283 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ test:2.7:
   image: python:2.7-alpine
   type: test
   script:
+    - apk update && apk add git
     - pip install pytest-cov
     - python setup.py install
     - python setup.py test
@@ -16,6 +17,7 @@ test:3.3:
   image: python:3.3-alpine
   type: test
   script:
+    - apk update && apk add git
     - pip install pytest-cov
     - python setup.py install
     - python setup.py test
@@ -25,6 +27,7 @@ test:3.4:
   image: python:3.4-alpine
   type: test
   script:
+    - apk update && apk add git
     - pip install pytest-cov
     - python setup.py install
     - python setup.py test
@@ -34,6 +37,7 @@ test:3.5:
   image: python:3.5-alpine
   type: test
   script:
+    - apk update && apk add git
     - pip install pytest-cov
     - python setup.py install
     - python setup.py test
@@ -43,13 +47,14 @@ test:3.6:
   image: python:3.6-alpine
   type: test
   script:
+    - apk update && apk add git
     - pip install pytest-cov
     - python setup.py install
     - python setup.py test
     - py.test --cov=chkcrontab_lib tests
 
 test:pypy-2:
-  image: pypy:2-slim
+  image: pypy:2
   type: test
   script:
     - pip install pytest-cov
@@ -59,7 +64,7 @@ test:pypy-2:
 
 # TODO(lyda): Fix test coverage here.
 test:pypy-3:
-  image: pypy:3-slim
+  image: pypy:3
   type: test
   script:
     - pip install pytest-cov