summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2018-07-15 18:59:09 +0200
committerSam Thursfield <sam@afuera.me.uk>2018-07-16 16:26:32 +0200
commit81fd49e9c56b45e0ff66faeaf0a203e5d9174d5f (patch)
treeb2802d69df2c2d9770f3ed3ca39b8a43e97fe62c
parent22afa1225a4b1f049bb2d38ff508bc657b6521de (diff)
downloadtracker-81fd49e9c56b45e0ff66faeaf0a203e5d9174d5f.tar.gz
ci: Avoid dumping screenfuls of CI_ variables for each failed test
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83efe8b7c..8aeedf245 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,4 +18,10 @@ test-meson-fedora-latest:
- su tracker -c 'mkdir build'
- su tracker -c 'cd build; meson .. -Dfunctional_tests=false'
- su tracker -c 'cd build; ninja'
- - su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'
+ - |
+ # Remove the many "CI_" variables from the environment. Meson dumps the
+ # whole environment for every failed test, and that gives a whole
+ # screenful of junk each time unless we strip these.
+ unset $(env|grep -o '^CI_[^=]*')
+
+ su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'