diff --git a/.ci/test_template.sh b/.ci/test_template.sh
index 1bce54487b1f4c86d304364804b325a7c25112e7..dd3e0022662614b764b5ac6331893f58c505c808 100644
--- a/.ci/test_template.sh
+++ b/.ci/test_template.sh
@@ -14,12 +14,12 @@ fi;
 
 source /test.venv/bin/activate
 
-pip install -r requirements.txt
-pip install -r requirements-extra.txt
-pip install -r requirements-dev.txt
+pip install --retries 10 -r requirements.txt
+pip install --retries 10 -r requirements-extra.txt
+pip install --retries 10 -r requirements-dev.txt
 
 # style stage
-if [ "$TEST_STYLE"x != "x" ]; then pip install pylint flake8; fi;
+if [ "$TEST_STYLE"x != "x" ]; then pip install --retries 10 pylint flake8; fi;
 if [ "$TEST_STYLE"x != "x" ]; then flake8                           fsl || true; fi;
 if [ "$TEST_STYLE"x != "x" ]; then pylint --output-format=colorized fsl || true; fi;
 if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi