comparison .gitlab-ci.yml @ 5343:f464b29898e3

ci: use set -x to echo the whole run-tests.py command string It'll echo not only the interpreter of run-tests.py and the arguments, but also the environment variable.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 24 May 2020 16:44:24 +0800
parents 4a958a7bb138
children dd88c127ad81
comparison
equal deleted inserted replaced
5342:4a958a7bb138 5343:f464b29898e3
23 image: octobus/ci-$PY-hgext3rd 23 image: octobus/ci-$PY-hgext3rd
24 script: 24 script:
25 - hg pull -R /ci/repos/mercurial/ 25 - hg pull -R /ci/repos/mercurial/
26 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')") 26 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
27 - hg -R /ci/repos/mercurial/ update "$hg_rev" 27 - hg -R /ci/repos/mercurial/ update "$hg_rev"
28 - (cd tests; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) 28 - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS)
29 29
30 tests-py2-cext: 30 tests-py2-cext:
31 <<: *runtests 31 <<: *runtests
32 variables: 32 variables:
33 TEST_HGMODULEPOLICY: "c" 33 TEST_HGMODULEPOLICY: "c"