Mercurial > evolve
comparison .gitlab-ci.yml @ 4924:cf1c67449fa7 stable
heptapod-ci: let the number of CPU to be picked automatically
We now have a larger, bigger machine to run the tests. Let's let run-tests.py
pick the number of concurrent jobs.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Nov 2019 12:03:52 +0100 |
parents | d18908c5642a |
children | dbeb04ee6679 |
comparison
equal
deleted
inserted
replaced
4923:d18908c5642a | 4924:cf1c67449fa7 |
---|---|
7 script: | 7 script: |
8 - echo $PWD | 8 - echo $PWD |
9 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` | 9 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` |
10 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ | 10 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ |
11 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` | 11 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` |
12 - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py -j 3) | 12 - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py) |
13 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` | 13 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` |