Show More
@@ -6,6 +6,7 b' 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 | - (cd tests; ls -1 test-check-*.*) > /tmp/check-tests.txt | |||
9 |
|
10 | |||
10 | variables: |
|
11 | variables: | |
11 | PYTHON: python |
|
12 | PYTHON: python | |
@@ -14,14 +15,18 b' variables:' | |||||
14 | script: |
|
15 | script: | |
15 | - cd tests/ |
|
16 | - cd tests/ | |
16 | - echo "python used, $PYTHON" |
|
17 | - echo "python used, $PYTHON" | |
17 | - $PYTHON run-tests.py --color=always --time test-check-*.* |
|
18 | - echo "$RUNTEST_ARGS" | |
|
19 | - $PYTHON run-tests.py --color=always $RUNTEST_ARGS | |||
18 |
|
20 | |||
19 | checks-py2: |
|
21 | checks-py2: | |
20 | <<: *runtests |
|
22 | <<: *runtests | |
|
23 | variables: | |||
|
24 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" | |||
21 |
|
25 | |||
22 | checks-py3: |
|
26 | checks-py3: | |
23 | <<: *runtests |
|
27 | <<: *runtests | |
24 | variables: |
|
28 | variables: | |
|
29 | RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" | |||
25 | PYTHON: python3 |
|
30 | PYTHON: python3 | |
26 |
|
31 | |||
27 | rust-cargo-test-py2: &rust_cargo_test |
|
32 | rust-cargo-test-py2: &rust_cargo_test | |
@@ -33,3 +38,14 b' rust-cargo-test-py3:' | |||||
33 | <<: *rust_cargo_test |
|
38 | <<: *rust_cargo_test | |
34 | variables: |
|
39 | variables: | |
35 | PYTHON: python3 |
|
40 | PYTHON: python3 | |
|
41 | ||||
|
42 | test-py2: | |||
|
43 | <<: *runtests | |||
|
44 | variables: | |||
|
45 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |||
|
46 | ||||
|
47 | test-py3: | |||
|
48 | <<: *runtests | |||
|
49 | variables: | |||
|
50 | RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |||
|
51 | PYTHON: python3 |
General Comments 0
You need to be logged in to leave comments.
Login now