From beabffbd641ffbf78c10ef32dec5054bc9cb1ccf 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 2928f23b..a914fa7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,7 +57,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 @@ -121,7 +121,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