changeset 4958:8ced373682c4 stable

heptapod-ci: run the test with color This make the result easier to read.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 17 Nov 2019 01:23:48 +0100
parents e8302f760a54
children edc29a909339
files .gitlab-ci.yml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.gitlab-ci.yml	Wed Nov 13 13:47:55 2019 +0700
+++ b/.gitlab-ci.yml	Sun Nov 17 01:23:48 2019 +0100
@@ -10,7 +10,7 @@
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
         - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
         - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`
-        - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py)
+        - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --color=always)
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
 
 tests-py2-pure:
@@ -20,7 +20,7 @@
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
         - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
         - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`
-        - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --pure)
+        - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --color=always --pure)
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
 
 tests-py3-cext:
@@ -30,7 +30,7 @@
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
         - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
         - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`
-        - (cd tests; python3 /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py)
+        - (cd tests; python3 /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --color=always)
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
 
 tests-py3-pure:
@@ -40,5 +40,5 @@
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
         - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
         - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`
-        - (cd tests; python3 /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --pure)
+        - (cd tests; python3 /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --color=always --pure)
         - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`