diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1683feb4dbb5e7e95ebbff99280d86729b2f079f..f2cbce14a73021ea99e5e6f1856f20f9fcf412d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,7 @@ before_script:
 dist:
   stage: build
   script:
+    - apt-get install gfortran libopenblas-dev liblapack-dev
     - python setup.py bdist_wheel
     # an alternative approach is to install and run:
     - pip install dist/*