From 619cd8d326e08891bf9cb077f67b77dd18020472 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sun, 17 Sep 2017 11:24:34 +0200 Subject: [PATCH] Correction des tests automatiques sous Gitlab --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b106da6..c491117 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,5 @@ +image: python:3.6-stretch + stages: - test @@ -5,6 +7,6 @@ test-openbackloggery: type: test script: - apt-get update -qy - - apt-get install -y python3-dev python-pip - - pip install -r requirements.txt - - python manage.py test + - apt-get install -y python3-dev python3-pip + - pip3 install -r requirements.txt + - cd collection && python3 manage.py test