diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9b273bd46cf8b261def69a2c8f7a354c9f536ad..0226c9563998a032016eee58eb9ad3430c0d27db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ build:debian:
     - cd ..
     - python -c 'import hysop'
     - cd build
-    - make uninstall
+    - echo $'y\n'|make uninstall
     - make clean
   artifacts:
     paths:
@@ -57,7 +57,7 @@ build:ubuntu:
     - cd ..
     - python -c 'import hysop'
     - cd build
-    - make uninstall
+    - echo $'y\n'|make uninstall
     - make clean
   artifacts:
     paths: