Show More
@@ -4,22 +4,21 b' stages:' | |||||
4 |
|
4 | |||
5 | image: registry.heptapod.net/mercurial/ci-images/mercurial-core |
|
5 | image: registry.heptapod.net/mercurial/ci-images/mercurial-core | |
6 |
|
6 | |||
7 | # The runner made a clone as root. |
|
|||
8 | # We make a new clone owned by user used to run the step. |
|
|||
9 | before_script: |
|
|||
10 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no |
|
|||
11 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` |
|
|||
12 | - cd /tmp/mercurial-ci/rust/rhg |
|
|||
13 | - cargo build |
|
|||
14 | - cd /tmp/mercurial-ci/ |
|
|||
15 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt |
|
|||
16 |
|
||||
17 | variables: |
|
7 | variables: | |
18 | PYTHON: python |
|
8 | PYTHON: python | |
19 | TEST_HGMODULEPOLICY: "allow" |
|
9 | TEST_HGMODULEPOLICY: "allow" | |
20 |
|
10 | |||
21 | .runtests_template: &runtests |
|
11 | .runtests_template: &runtests | |
22 | stage: tests |
|
12 | stage: tests | |
|
13 | # The runner made a clone as root. | |||
|
14 | # We make a new clone owned by user used to run the step. | |||
|
15 | before_script: | |||
|
16 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no | |||
|
17 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` | |||
|
18 | - cd /tmp/mercurial-ci/rust/rhg | |||
|
19 | - cargo build | |||
|
20 | - cd /tmp/mercurial-ci/ | |||
|
21 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt | |||
23 | script: |
|
22 | script: | |
24 | - echo "python used, $PYTHON" |
|
23 | - echo "python used, $PYTHON" | |
25 | - echo "$RUNTEST_ARGS" |
|
24 | - echo "$RUNTEST_ARGS" |
General Comments 0
You need to be logged in to leave comments.
Login now