From 9c8178be5b819eaa37d4ebd44b8fa3b6b794361a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Thu, 26 Sep 2019 16:18:55 +0200
Subject: [PATCH] add python version-specific test stages to CI tasks

---
 .gitlab-ci.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7bde6e88..3a413b5b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,27 @@ test-centos7:
   - pip3.5 install mod_wsgi
   - python setup.py test
 
+test-python35:
+  image: python:3.5
+  stage: test
+  script:
+  - pip install -r requirements.txt
+  - python manage.py test
+
+test-python36:
+  image: python:3.6
+  stage: test
+  script:
+  - pip install -r requirements.txt
+  - python manage.py test
+
+test-python37:
+  image: python:3.7
+  stage: test
+  script:
+  - pip install -r requirements.txt
+  - python manage.py test
+
 pages:
   image: centos:centos7
   stage: deploy
-- 
GitLab