##// END OF EJS Templates
ci: avoid a global before_script definition...
Dan Villiom Podlaski Christiansen -
r46861:fb69b51b default
parent child Browse files
Show More
@@ -4,6 +4,12 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 variables:
8 PYTHON: python
9 TEST_HGMODULEPOLICY: "allow"
10
11 .runtests_template: &runtests
12 stage: tests
7 # The runner made a clone as root.
13 # The runner made a clone as root.
8 # We make a new clone owned by user used to run the step.
14 # We make a new clone owned by user used to run the step.
9 before_script:
15 before_script:
@@ -13,13 +19,6 b' before_script:'
13 - cargo build
19 - cargo build
14 - cd /tmp/mercurial-ci/
20 - cd /tmp/mercurial-ci/
15 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
21 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
16
17 variables:
18 PYTHON: python
19 TEST_HGMODULEPOLICY: "allow"
20
21 .runtests_template: &runtests
22 stage: tests
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