heptapod-ci: run the test with color stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 17 Nov 2019 01:23:48 +0100
branchstable
changeset 4958 8ced373682c4
parent 4957 e8302f760a54
child 4959 edc29a909339
heptapod-ci: run the test with color This make the result easier to read.
.gitlab-ci.yml
--- 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}"`