From 7652376a2f8f4287aca4500b3da7562d77ec3468 Mon Sep 17 00:00:00 2001 From: chirac Date: Sun, 17 Dec 2017 16:21:39 +0100 Subject: [PATCH] Fix bug, utiliser apt pour pylint-django --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95aaebe3..32036697 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,10 +11,9 @@ lint: LANGUAGE: 'en_US.UTF-8' script: - apt-get -qq update - - DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-pip python3-django + - DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-pip python3-django python3-pylint-django - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - pip3 install -q pylint-django - - pylint --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi + - pylint3 --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi