diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ce603d35f68cc2643cb2bc8e4c5d07c368dfbd5..4da506a07119496c524411a7cf4e427a9da222db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,14 @@ default:
     - cd my_awesome_app
     - git init
 
+# Override unit test before script
+.run_unit_test_version_base:
+  before_script:
+    - !reference [default, before_script]
+    - python --version # For debugging
+    - python -m pip install --upgrade pip
+    - pip install --upgrade tox twine
+
 # Override artifact directories
 run_unit_tests_coverage:
   artifacts:
diff --git a/{{cookiecutter.project_slug}}/.gitlab-ci.yml b/{{cookiecutter.project_slug}}/.gitlab-ci.yml
index ead4cc5f552641f2afa4599d8f743e44e6ba2196..3bd2346631011bda7a42ca28a3295f876ce7b80f 100644
--- a/{{cookiecutter.project_slug}}/.gitlab-ci.yml
+++ b/{{cookiecutter.project_slug}}/.gitlab-ci.yml
@@ -68,7 +68,7 @@ run_unit_tests:
     - tox -e py3${PY_VERSION}
   parallel:
     matrix: # use the matrix for testing
-      - PY_VERSION: [7, 8, 9, 10]
+      - PY_VERSION: [8, 9, 10, 11]
 
 # Run code coverage on the base image thus also performing unit tests
 run_unit_tests_coverage: