diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 31421d9da6cf51b7a27f056417432bf1686ab22c..c84dbd39d51fe5ac9f49754ac3b9e1a937e58909 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,8 @@ stages:
   - py35
   - py36
   - py37
+  - py38
+  - py39
 test-py3.5:
   image: python:3.5
   stage: py35
@@ -20,3 +22,15 @@ test-py3.7:
   script:
   - pip3 install -r requirements.txt
   - python3.7 -m pytest --cov rpg tests
+test-py3.8:
+  image: python:3.8
+  stage: py38
+  script:
+  - pip3 install -r requirements.txt
+  - python3.8 -m pytest --cov rpg tests
+test-py3.9:
+  image: python:3.9
+  stage: py39
+  script:
+  - pip3 install -r requirements.txt
+  - python3.9 -m pytest --cov rpg tests