From 9170b3724673e166062d6c31f470c1335da62ae5 Mon Sep 17 00:00:00 2001 From: Florent Fourcot Date: Wed, 30 Aug 2017 12:13:54 +0200 Subject: [PATCH] ci: split lint in two steps And allow failure for module without icons/test. Don't allow failure on pyflakes --- .gitlab-ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38e0249d2b..c2517f753f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,11 +17,17 @@ build:2.7: script: - "./tools/local_install.sh ~/bin" -lint:2.7: +pyflakes:2.7: image: "python:2.7" stage: "test27" script: - "./tools/pyflakes.sh" + +lint:2.7: + image: "python:2.7" + stage: "test27" + allow_failure: true + script: - "./tools/weboob_lint.sh" unittests:2.7: @@ -43,12 +49,19 @@ build:3: script: - "./tools/local_install.sh ~/bin" -lint:3: +pyflakes:3: image: "python:3" stage: "test3" when: always script: - "./tools/pyflakes.sh" + +lint:3: + image: "python:3" + stage: "test3" + when: always + allow_failure: true + script: - "./tools/weboob_lint.sh" unittests:3: -- GitLab