Show More
@@ -26,17 +26,6 b' variables:' | |||||
26 | - echo "$RUNTEST_ARGS" |
|
26 | - echo "$RUNTEST_ARGS" | |
27 | - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS |
|
27 | - HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS | |
28 |
|
28 | |||
29 |
|
||||
30 | .rust_template: &rust |
|
|||
31 | before_script: |
|
|||
32 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no |
|
|||
33 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` |
|
|||
34 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt |
|
|||
35 | - cd /tmp/mercurial-ci/rust/rhg |
|
|||
36 | - cargo build --release |
|
|||
37 | - cd /tmp/mercurial-ci/ |
|
|||
38 |
|
||||
39 |
|
||||
40 | checks-py2: |
|
29 | checks-py2: | |
41 | <<: *runtests |
|
30 | <<: *runtests | |
42 | variables: |
|
31 | variables: | |
@@ -95,7 +84,6 b' test-py3-pure:' | |||||
95 |
|
84 | |||
96 | test-py2-rust: |
|
85 | test-py2-rust: | |
97 | <<: *runtests |
|
86 | <<: *runtests | |
98 | <<: *rust |
|
|||
99 | variables: |
|
87 | variables: | |
100 | HGWITHRUSTEXT: cpython |
|
88 | HGWITHRUSTEXT: cpython | |
101 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" |
|
89 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" | |
@@ -103,13 +91,20 b' test-py2-rust:' | |||||
103 |
|
91 | |||
104 | test-py3-rust: |
|
92 | test-py3-rust: | |
105 | <<: *runtests |
|
93 | <<: *runtests | |
106 | <<: *rust |
|
|||
107 | variables: |
|
94 | variables: | |
108 | HGWITHRUSTEXT: cpython |
|
95 | HGWITHRUSTEXT: cpython | |
109 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" |
|
96 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" | |
110 | PYTHON: python3 |
|
97 | PYTHON: python3 | |
111 | TEST_HGMODULEPOLICY: "rust+c" |
|
98 | TEST_HGMODULEPOLICY: "rust+c" | |
112 |
|
99 | |||
|
100 | test-py3-rhg: | |||
|
101 | <<: *runtests | |||
|
102 | variables: | |||
|
103 | HGWITHRUSTEXT: cpython | |||
|
104 | RUNTEST_ARGS: "--rust --rhg --blacklist /tmp/check-tests.txt" | |||
|
105 | PYTHON: python3 | |||
|
106 | TEST_HGMODULEPOLICY: "rust+c" | |||
|
107 | ||||
113 | test-py2-chg: |
|
108 | test-py2-chg: | |
114 | <<: *runtests |
|
109 | <<: *runtests | |
115 | variables: |
|
110 | variables: |
General Comments 0
You need to be logged in to leave comments.
Login now