diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08e06388ba0216bc5de2dc19839fc356e189d0aa..348c360470b88a65bcaff4e459e1bbc0c54c1eb2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 before_script:
   - apt-get update
-  - apt-get install gfortan
+  - apt-get install gfortran-4.7
 
 test-3.4:
   image: python:3.4