From 839f585f873b3bd7502aad1f79fa1e0b9f9ac751 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Thu, 4 Oct 2018 21:35:39 +0200 Subject: [PATCH] CI: improve CI --- .gitlab-ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e94b7d00..57f7f4ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,13 @@ stages: - - setup - test -setup: - stage: setup +test: + stage: test script: - apt-get update - apt-get install -y gettext - pip install -r requirements.txt - pip install coverage - - pip install black - -test: - stage: test - script: - ./manage.py compilemessages - coverage run ./manage.py test - coverage html @@ -25,4 +19,5 @@ test: black: stage: test script: + - pip install black - black --check .