diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 189c7cb602bb64dc57d3609d4253138644265410..b3135bc39e4a07b7c031be9af840dea8b5286c26 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,7 @@ cache:
 
 before_script:
   - apt-get update --yes
+  - apt-get install --yes python3-pyqt5 xvfb xdg-utils
   - python -m pip install --upgrade pip
   - python --version  # For debugging
   - pip install virtualenv