From dd92c25bb037c97ff0d1656f9a934e1249df46f4 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 2 Jan 2018 18:26:26 +0900 Subject: .gitlab-ci.yml: Force colors in pytest for better output in the gitlab UI. --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.1