summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-01-02 18:26:26 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-01-02 19:05:50 +0900
commitdd92c25bb037c97ff0d1656f9a934e1249df46f4 (patch)
tree0c6ce3bc581d01eaa5173b58cc7b1dc9b26c343b
parentc8b3b4634d35387ce9cd01955f48c13e54090192 (diff)
downloadbuildstream-error-codes.tar.gz
.gitlab-ci.yml: Force colors in pytest for better output in the gitlab UI.error-codes
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7f7c948f4..8d0aef803 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,6 +68,8 @@ source_dist:
#
pytest_linux:
stage: test
+ variables:
+ PYTEST_ADDOPTS: "--color=yes"
script:
# Unpack and get into dist/buildstream
@@ -116,6 +118,7 @@ pytest_unix:
stage: test
variables:
BST_FORCE_BACKEND: "unix"
+ PYTEST_ADDOPTS: "--color=yes"
script:
# We remove the Bubblewrap and OSTree packages here so that we catch any
# codepaths that try to use them. Removing OSTree causes fuse-libs to