From bebfee864b88565ae7828550aa887ccc99ff1ce5 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 14 Jul 2017 18:23:45 +0900 Subject: .gitlab-ci.yml: Enable colors on the CI BuildStream is unable to detect whether output has support for ANSI color codes automatically when running in a CI and not connected to a real tty. It is however typical of CI systems to support the ANSI color escape codes (but not other terminal escape sequences), for this reason BuildStream has an explicit --colors option to force colors to be enabled in scenarios where we cannot detect that it is supported. This patch causes the CI to use it. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30806a3e..ba32d9ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,7 +52,7 @@ validate-all-definitions: bst-build-system-x86_32-build: stage: build-1 script: - - bst -C buildstream-tests build build-system-x86_64-content.bst + - bst --colors -C buildstream-tests build build-system-x86_64-content.bst dependencies: - migrate-bst @@ -116,7 +116,7 @@ gnome-build-64: bst-gnome-build-64: stage: build-3 script: - - bst -C buildstream-tests build gnome/gnome-system-x86_64-content.bst + - bst --colors -C buildstream-tests build gnome/gnome-system-x86_64-content.bst dependencies: - migrate-bst -- cgit v1.2.1