From ee4d2d7f0e96f2295a1a3f21bfe564c63d731866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 3 Jan 2020 16:40:18 +0100 Subject: [PATCH] CI: run tests on python:3.5 and python:3.7 --- .gitlab-ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a6ce23a..a8bece7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,7 @@ variables: # psql password authentication PGPASSWORD: $POSTGRES_PASSWORD -test: - stage: test +.test_template: before_script: - mkdir -p vendor/{pip,apt} - apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq postgresql-client @@ -44,6 +43,16 @@ test: # Keep this disabled for now, as it may kill GitLab... # coverage: '/TOTAL.*\s(\d+\.\d+)\%$/' +test35: + extends: ".test_template" + image: "python:3.5" + stage: test + +test37: + extends: ".test_template" + image: "python:3.7" + stage: test + linters: image: python:3.6 stage: test