diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 67b9b6085c1f83303b8145680e860590be810e91..fc27189bb50e89b9921a8893679e1309550fa898 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,12 +4,12 @@ stages:          # List of stages for jobs, and their order of execution
 
 ############ YAML ANCHORS ############
 .script_gcc5_template: &script_gcc5_definition
-  - apt-get update
-  - apt-get install software-properties-common
-  - add-apt-repository ppa:ubuntu-toolchain-r/test
-  - apt-get update
-  - apt-get install gcc-snapshot
-  - apt-get install gcc-5 g++-5
+  - apt-get update -y
+  - apt-get install software-properties-common -y
+  - add-apt-repository ppa:ubuntu-toolchain-r/test -y
+  - apt-get update -y
+  - apt-get install gcc-snapshot -y
+  - apt-get install gcc-5 g++-5 -y
 
 .script_install_template: &script_install_definition
   - apt-get update -y && apt-get install -y expect