Show More
@@ -1,81 +1,81 b'' | |||||
1 | image: octobus/ci-mercurial-core |
|
1 | image: octobus/ci-mercurial-core | |
2 |
|
2 | |||
3 | # The runner made a clone as root. |
|
3 | # The runner made a clone as root. | |
4 | # We make a new clone owned by user used to run the step. |
|
4 | # We make a new clone owned by user used to run the step. | |
5 | before_script: |
|
5 | before_script: | |
6 | - hg clone . /tmp/mercurial-ci/ --noupdate |
|
6 | - hg clone . /tmp/mercurial-ci/ --noupdate | |
7 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` |
|
7 | - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` | |
8 | - cd /tmp/mercurial-ci/ |
|
8 | - cd /tmp/mercurial-ci/ | |
9 |
- |
|
9 | - ls -1 tests/test-check-*.* > /tmp/check-tests.txt | |
10 |
|
10 | |||
11 | variables: |
|
11 | variables: | |
12 | PYTHON: python |
|
12 | PYTHON: python | |
13 | TEST_HGMODULEPOLICY: "allow" |
|
13 | TEST_HGMODULEPOLICY: "allow" | |
14 |
|
14 | |||
15 | .runtests_template: &runtests |
|
15 | .runtests_template: &runtests | |
16 | script: |
|
16 | script: | |
17 | - echo "python used, $PYTHON" |
|
17 | - echo "python used, $PYTHON" | |
18 | - echo "$RUNTEST_ARGS" |
|
18 | - echo "$RUNTEST_ARGS" | |
19 | - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS |
|
19 | - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS | |
20 |
|
20 | |||
21 | checks-py2: |
|
21 | checks-py2: | |
22 | <<: *runtests |
|
22 | <<: *runtests | |
23 | variables: |
|
23 | variables: | |
24 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" |
|
24 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" | |
25 |
|
25 | |||
26 | checks-py3: |
|
26 | checks-py3: | |
27 | <<: *runtests |
|
27 | <<: *runtests | |
28 | variables: |
|
28 | variables: | |
29 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" |
|
29 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" | |
30 | PYTHON: python3 |
|
30 | PYTHON: python3 | |
31 |
|
31 | |||
32 | rust-cargo-test-py2: &rust_cargo_test |
|
32 | rust-cargo-test-py2: &rust_cargo_test | |
33 | script: |
|
33 | script: | |
34 | - echo "python used, $PYTHON" |
|
34 | - echo "python used, $PYTHON" | |
35 | - make rust-tests |
|
35 | - make rust-tests | |
36 |
|
36 | |||
37 | rust-cargo-test-py3: |
|
37 | rust-cargo-test-py3: | |
38 | <<: *rust_cargo_test |
|
38 | <<: *rust_cargo_test | |
39 | variables: |
|
39 | variables: | |
40 | PYTHON: python3 |
|
40 | PYTHON: python3 | |
41 |
|
41 | |||
42 | test-py2: |
|
42 | test-py2: | |
43 | <<: *runtests |
|
43 | <<: *runtests | |
44 | variables: |
|
44 | variables: | |
45 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" |
|
45 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |
46 | TEST_HGMODULEPOLICY: "c" |
|
46 | TEST_HGMODULEPOLICY: "c" | |
47 |
|
47 | |||
48 | test-py3: |
|
48 | test-py3: | |
49 | <<: *runtests |
|
49 | <<: *runtests | |
50 | variables: |
|
50 | variables: | |
51 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" |
|
51 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |
52 | PYTHON: python3 |
|
52 | PYTHON: python3 | |
53 | TEST_HGMODULEPOLICY: "c" |
|
53 | TEST_HGMODULEPOLICY: "c" | |
54 |
|
54 | |||
55 | test-py2-pure: |
|
55 | test-py2-pure: | |
56 | <<: *runtests |
|
56 | <<: *runtests | |
57 | variables: |
|
57 | variables: | |
58 | RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" |
|
58 | RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | |
59 | TEST_HGMODULEPOLICY: "py" |
|
59 | TEST_HGMODULEPOLICY: "py" | |
60 |
|
60 | |||
61 | test-py3-pure: |
|
61 | test-py3-pure: | |
62 | <<: *runtests |
|
62 | <<: *runtests | |
63 | variables: |
|
63 | variables: | |
64 | RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" |
|
64 | RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | |
65 | PYTHON: python3 |
|
65 | PYTHON: python3 | |
66 | TEST_HGMODULEPOLICY: "py" |
|
66 | TEST_HGMODULEPOLICY: "py" | |
67 |
|
67 | |||
68 | test-py2-rust: |
|
68 | test-py2-rust: | |
69 | <<: *runtests |
|
69 | <<: *runtests | |
70 | variables: |
|
70 | variables: | |
71 | HGWITHRUSTEXT: cpython |
|
71 | HGWITHRUSTEXT: cpython | |
72 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" |
|
72 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |
73 | TEST_HGMODULEPOLICY: "rust+c" |
|
73 | TEST_HGMODULEPOLICY: "rust+c" | |
74 |
|
74 | |||
75 | test-py3-rust: |
|
75 | test-py3-rust: | |
76 | <<: *runtests |
|
76 | <<: *runtests | |
77 | variables: |
|
77 | variables: | |
78 | HGWITHRUSTEXT: cpython |
|
78 | HGWITHRUSTEXT: cpython | |
79 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" |
|
79 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |
80 | PYTHON: python3 |
|
80 | PYTHON: python3 | |
81 | TEST_HGMODULEPOLICY: "rust+c" |
|
81 | TEST_HGMODULEPOLICY: "rust+c" |
General Comments 0
You need to be logged in to leave comments.
Login now