##// END OF EJS Templates
heptapod-ci: add a job to test the rust version of Mercurial...
marmoute -
r44758:541a509a stable
parent child Browse files
Show More
@@ -1,62 +1,75 b''
1 1 image: octobus/ci-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/
9 9 - (cd tests; ls -1 test-check-*.*) > /tmp/check-tests.txt
10 10
11 11 variables:
12 12 PYTHON: python
13 13
14 14 .runtests_template: &runtests
15 15 script:
16 16 - cd tests/
17 17 - echo "python used, $PYTHON"
18 18 - echo "$RUNTEST_ARGS"
19 19 - $PYTHON run-tests.py --color=always $RUNTEST_ARGS
20 20
21 21 checks-py2:
22 22 <<: *runtests
23 23 variables:
24 24 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
25 25
26 26 checks-py3:
27 27 <<: *runtests
28 28 variables:
29 29 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
30 30 PYTHON: python3
31 31
32 32 rust-cargo-test-py2: &rust_cargo_test
33 33 script:
34 34 - echo "python used, $PYTHON"
35 35 - make rust-tests
36 36
37 37 rust-cargo-test-py3:
38 38 <<: *rust_cargo_test
39 39 variables:
40 40 PYTHON: python3
41 41
42 42 test-py2:
43 43 <<: *runtests
44 44 variables:
45 45 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
46 46
47 47 test-py3:
48 48 <<: *runtests
49 49 variables:
50 50 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
51 51 PYTHON: python3
52 52
53 53 test-py2-pure:
54 54 <<: *runtests
55 55 variables:
56 56 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
57 57
58 58 test-py3-pure:
59 59 <<: *runtests
60 60 variables:
61 61 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
62 62 PYTHON: python3
63
64 test-py2-rust:
65 <<: *runtests
66 variables:
67 HGWITHRUSTEXT: cpython
68 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
69
70 test-py3-rust:
71 <<: *runtests
72 variables:
73 HGWITHRUSTEXT: cpython
74 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
75 PYTHON: python3
General Comments 0
You need to be logged in to leave comments. Login now