Show More
@@ -7,7 +7,19 b' before_script:' | |||||
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 | |||
10 | checks-py2: |
|
10 | variables: | |
|
11 | PYTHON: python | |||
|
12 | ||||
|
13 | .runtests_template: &runtests | |||
11 | script: |
|
14 | script: | |
12 | - cd tests/ |
|
15 | - cd tests/ | |
13 | - python run-tests.py --color=always --time test-check-*.* |
|
16 | - echo "python used, $PYTHON" | |
|
17 | - $PYTHON run-tests.py --color=always --time test-check-*.* | |||
|
18 | ||||
|
19 | checks-py2: | |||
|
20 | <<: *runtests | |||
|
21 | ||||
|
22 | checks-py3: | |||
|
23 | <<: *runtests | |||
|
24 | variables: | |||
|
25 | PYTHON: python3 |
General Comments 0
You need to be logged in to leave comments.
Login now