summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-14 18:23:45 +0900
committerJavier Jardón <jjardon@gnome.org>2017-07-14 11:15:31 +0100
commitbebfee864b88565ae7828550aa887ccc99ff1ce5 (patch)
tree554644352d8f740d9bb2d5a2d8d56e6522c0953d
parent0e6e89e71a92a8dece399e364790b690f4a62a9d (diff)
downloaddefinitions-bebfee864b88565ae7828550aa887ccc99ff1ce5.tar.gz
.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.
-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