From 8b494ed7bf65fb3ed9aee0449346c5985d074c01 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Thu, 12 Dec 2019 23:33:45 +0100 Subject: [PATCH] [CI] Turn all scripts into arrays --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81a91409c..60dda1530 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,15 +20,18 @@ cache: test: stage: test - before_script: adduser --disabled-password --gecos "Test User" testuser - script: sudo -u testuser tox + before_script: + - adduser --disabled-password --gecos "Test User" testuser + script: + - sudo -u testuser tox artifacts: paths: - htmlcov/ lint: stage: test - script: tox -e lint,security + script: + - tox -e lint,security allow_failure: true build_dist: @@ -41,7 +44,8 @@ build_dist: pages: stage: deploy - script: tox -e docs -- BUILDDIR=../public/docs + script: + - tox -e docs -- BUILDDIR=../public/docs artifacts: paths: - public/ -- GitLab