From 0abd63c8a4cabf7b6d1b06dddfc5440d269c4b55 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Mon, 5 Oct 2020 16:47:50 +0200 Subject: [PATCH] test both 3.0 and 3.1 --- .gitlab-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 447dc7d..bc2f712 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,11 +43,19 @@ test36-django3: - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m -test37-django3: +test37-django30: stage: test image: python:3.7 script: - - pip install 'django>=3' + - pip install 'django==3.0.*' + - pip install -r requirements.txt + - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m + +test37-django31: + stage: test + image: python:3.7 + script: + - pip install 'django>=3.1' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m -- GitLab