##// END OF EJS Templates
heptapod-ci: hosting base image on registry.heptapod.net...
Georges Racinet -
r46509:063cf294 default
parent child Browse files
Show More
@@ -1,104 +1,104 b''
1 image: octobus/ci-mercurial-core
1 image: registry.heptapod.net/mercurial/ci-images/mercurial-core
2 2
3 3 # The runner made a clone as root.
4 4 # We make a new clone owned by user used to run the step.
5 5 before_script:
6 6 - hg clone . /tmp/mercurial-ci/ --noupdate
7 7 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
8 8 - cd /tmp/mercurial-ci/rust/rhg
9 9 - cargo build
10 10 - cd /tmp/mercurial-ci/
11 11 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
12 12
13 13 variables:
14 14 PYTHON: python
15 15 TEST_HGMODULEPOLICY: "allow"
16 16
17 17 .runtests_template: &runtests
18 18 script:
19 19 - echo "python used, $PYTHON"
20 20 - echo "$RUNTEST_ARGS"
21 21 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
22 22
23 23 checks-py2:
24 24 <<: *runtests
25 25 variables:
26 26 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
27 27
28 28 checks-py3:
29 29 <<: *runtests
30 30 variables:
31 31 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
32 32 PYTHON: python3
33 33
34 34 rust-cargo-test-py2: &rust_cargo_test
35 35 script:
36 36 - echo "python used, $PYTHON"
37 37 - make rust-tests
38 38
39 39 rust-cargo-test-py3:
40 40 <<: *rust_cargo_test
41 41 variables:
42 42 PYTHON: python3
43 43
44 44 rust-cargo-test-py3-dirstate-tree:
45 45 <<: *rust_cargo_test
46 46 variables:
47 47 PYTHON: python3
48 48 HG_RUST_FEATURES: dirstate-tree
49 49
50 50 test-py2:
51 51 <<: *runtests
52 52 variables:
53 53 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
54 54 TEST_HGMODULEPOLICY: "c"
55 55
56 56 test-py3:
57 57 <<: *runtests
58 58 variables:
59 59 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
60 60 PYTHON: python3
61 61 TEST_HGMODULEPOLICY: "c"
62 62
63 63 test-py2-pure:
64 64 <<: *runtests
65 65 variables:
66 66 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
67 67 TEST_HGMODULEPOLICY: "py"
68 68
69 69 test-py3-pure:
70 70 <<: *runtests
71 71 variables:
72 72 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
73 73 PYTHON: python3
74 74 TEST_HGMODULEPOLICY: "py"
75 75
76 76 test-py2-rust:
77 77 <<: *runtests
78 78 variables:
79 79 HGWITHRUSTEXT: cpython
80 80 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
81 81 TEST_HGMODULEPOLICY: "rust+c"
82 82
83 83 test-py3-rust:
84 84 <<: *runtests
85 85 variables:
86 86 HGWITHRUSTEXT: cpython
87 87 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
88 88 PYTHON: python3
89 89 TEST_HGMODULEPOLICY: "rust+c"
90 90
91 91 test-py3-rust-dirstate-tree:
92 92 <<: *runtests
93 93 variables:
94 94 HGWITHRUSTEXT: cpython
95 95 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
96 96 PYTHON: python3
97 97 TEST_HGMODULEPOLICY: "rust+c"
98 98 HG_RUST_FEATURES: "dirstate-tree"
99 99
100 100 test-py2-chg:
101 101 <<: *runtests
102 102 variables:
103 103 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
104 104 TEST_HGMODULEPOLICY: "c"
General Comments 0
You need to be logged in to leave comments. Login now