##// END OF EJS Templates
backout: backed out changeset 5d83a40cd3f8...
Raphaël Gomès -
r49233:0ad593b6 default
parent child Browse files
Show More
@@ -5,7 +5,7 b' stages:'
5 5 image: registry.heptapod.net/mercurial/ci-images/mercurial-core:$HG_CI_IMAGE_TAG
6 6
7 7 variables:
8 PYTHON: python3
8 PYTHON: python
9 9 TEST_HGMODULEPOLICY: "allow"
10 10 HG_CI_IMAGE_TAG: "latest"
11 11 TEST_HGTESTS_ALLOW_NETIO: "0"
@@ -30,17 +30,30 b' variables:'
30 30 - echo "$RUNTEST_ARGS"
31 31 - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
32 32
33 checks:
33 checks-py2:
34 34 <<: *runtests
35 35 variables:
36 36 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
37 37
38 rust-cargo-test:
38 checks-py3:
39 <<: *runtests
40 variables:
41 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
42 PYTHON: python3
43
44 rust-cargo-test-py2: &rust_cargo_test
39 45 <<: *all
40 46 stage: tests
41 47 script:
48 - echo "python used, $PYTHON"
42 49 - make rust-tests
43 50
51 rust-cargo-test-py3:
52 stage: tests
53 <<: *rust_cargo_test
54 variables:
55 PYTHON: python3
56
44 57 phabricator-refresh:
45 58 stage: phabricator
46 59 variables:
@@ -54,40 +67,71 b' phabricator-refresh:'
54 67 ./contrib/phab-refresh-stack.sh --comment "$DEFAULT_COMMENT";
55 68 fi
56 69
57 test:
70 test-py2:
58 71 <<: *runtests
59 72 variables:
60 73 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
61 74 TEST_HGMODULEPOLICY: "c"
62 75 TEST_HGTESTS_ALLOW_NETIO: "1"
63 76
64 test-pure:
77 test-py3:
78 <<: *runtests
79 variables:
80 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
81 PYTHON: python3
82 TEST_HGMODULEPOLICY: "c"
83 TEST_HGTESTS_ALLOW_NETIO: "1"
84
85 test-py2-pure:
65 86 <<: *runtests
66 87 variables:
67 88 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
68 89 TEST_HGMODULEPOLICY: "py"
69 90
70 test-rust:
91 test-py3-pure:
92 <<: *runtests
93 variables:
94 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
95 PYTHON: python3
96 TEST_HGMODULEPOLICY: "py"
97
98 test-py2-rust:
71 99 <<: *runtests
72 100 variables:
73 101 HGWITHRUSTEXT: cpython
74 102 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
75 103 TEST_HGMODULEPOLICY: "rust+c"
76 104
77 test-rhg:
105 test-py3-rust:
106 <<: *runtests
107 variables:
108 HGWITHRUSTEXT: cpython
109 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
110 PYTHON: python3
111 TEST_HGMODULEPOLICY: "rust+c"
112
113 test-py3-rhg:
78 114 <<: *runtests
79 115 variables:
80 116 HGWITHRUSTEXT: cpython
81 117 RUNTEST_ARGS: "--rust --rhg --blacklist /tmp/check-tests.txt"
118 PYTHON: python3
82 119 TEST_HGMODULEPOLICY: "rust+c"
83 120
84 test-chg:
121 test-py2-chg:
85 122 <<: *runtests
86 123 variables:
87 124 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
88 125 TEST_HGMODULEPOLICY: "c"
89 126
90 check-pytype:
127 test-py3-chg:
128 <<: *runtests
129 variables:
130 PYTHON: python3
131 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
132 TEST_HGMODULEPOLICY: "c"
133
134 check-pytype-py3:
91 135 extends: .runtests_template
92 136 before_script:
93 137 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
@@ -98,6 +142,7 b' check-pytype:'
98 142 variables:
99 143 RUNTEST_ARGS: " --allow-slow-tests tests/test-check-pytype.t"
100 144 HGTEST_SLOWTIMEOUT: "3600"
145 PYTHON: python3
101 146 TEST_HGMODULEPOLICY: "c"
102 147
103 148 # `sh.exe --login` sets a couple of extra environment variables that are defined
General Comments 0
You need to be logged in to leave comments. Login now