Show More
@@ -15,8 +15,6 b' variables:' | |||||
15 | before_script: |
|
15 | before_script: | |
16 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no |
|
16 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no | |
17 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` |
|
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/ |
|
18 | - cd /tmp/mercurial-ci/ | |
21 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt |
|
19 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt | |
22 | script: |
|
20 | script: | |
@@ -24,6 +22,17 b' variables:' | |||||
24 | - echo "$RUNTEST_ARGS" |
|
22 | - echo "$RUNTEST_ARGS" | |
25 | - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS |
|
23 | - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS | |
26 |
|
24 | |||
|
25 | ||||
|
26 | .rust_template: &rust | |||
|
27 | before_script: | |||
|
28 | - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no | |||
|
29 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` | |||
|
30 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt | |||
|
31 | - cd /tmp/mercurial-ci/rust/rhg | |||
|
32 | - cargo build | |||
|
33 | - cd /tmp/mercurial-ci/ | |||
|
34 | ||||
|
35 | ||||
27 | checks-py2: |
|
36 | checks-py2: | |
28 | <<: *runtests |
|
37 | <<: *runtests | |
29 | variables: |
|
38 | variables: | |
@@ -80,6 +89,7 b' test-py3-pure:' | |||||
80 |
|
89 | |||
81 | test-py2-rust: |
|
90 | test-py2-rust: | |
82 | <<: *runtests |
|
91 | <<: *runtests | |
|
92 | <<: *rust | |||
83 | variables: |
|
93 | variables: | |
84 | HGWITHRUSTEXT: cpython |
|
94 | HGWITHRUSTEXT: cpython | |
85 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" |
|
95 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" | |
@@ -87,6 +97,7 b' test-py2-rust:' | |||||
87 |
|
97 | |||
88 | test-py3-rust: |
|
98 | test-py3-rust: | |
89 | <<: *runtests |
|
99 | <<: *runtests | |
|
100 | <<: *rust | |||
90 | variables: |
|
101 | variables: | |
91 | HGWITHRUSTEXT: cpython |
|
102 | HGWITHRUSTEXT: cpython | |
92 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" |
|
103 | RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt" |
General Comments 0
You need to be logged in to leave comments.
Login now