summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-14 18:23:45 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-14 18:23:45 +0900
commitcd582f90e28c452f8c96bf2be2966f92b5246a76 (patch)
treef547b4e3fc0b719a0c25ad924806cfb1354ea9f0
parent08a950c912ed57de9662b9f4bb4525ddd6f20a05 (diff)
downloaddefinitions-tristan/bst_colors.tar.gz
.gitlab-ci.yml: Enable colors on the CItristan/bst_colors
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.
-rw-r--r--.gitlab-ci.yml4
1 files 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