diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa0835cc6f70e7ced2f983981bf3297935b18ca2..89b076e17a507b17ba8e3a3b155f322dccd75e3a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ python3.8:
     stage: test
     script:
     - pip install tox
-    - tox -e py37
+    - tox -e py38
     - tox -e pep8
 
 python3.9:
@@ -32,15 +32,9 @@ python3.9:
     stage: test
     script:
     - pip install tox
-    - tox -e py37
+    - tox -e py39
     - tox -e pep8
 
-python2.7:
-    image: python:2.7
-    stage: test
-    script:
-    - pip install tox
-    - tox -e py27 pep8
 
 #### Entering th release zone
 pages: