Mercurial > evolve
comparison .gitlab-ci.yml @ 6256:314682992f7d mercurial-5.0
test-compat: merge mercurial-5.1 into mercurial-5.0
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 26 Apr 2022 11:15:27 +0400 |
parents | 8643272ade4c df8df57a3ce3 |
children | a3ab9ef1c275 |
comparison
equal
deleted
inserted
replaced
6255:21fe1a798ced | 6256:314682992f7d |
---|---|
34 variables: | 34 variables: |
35 PY: py2 | 35 PY: py2 |
36 PYTHON: python2 | 36 PYTHON: python2 |
37 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" | 37 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" |
38 | 38 |
39 checks-py3: | |
40 <<: *runtests | |
41 variables: | |
42 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" | |
43 | |
44 tests-py2-cext: | 39 tests-py2-cext: |
45 <<: *runtests | 40 <<: *runtests |
46 variables: | 41 variables: |
47 PY: py2 | 42 PY: py2 |
48 PYTHON: python2 | 43 PYTHON: python2 |
54 variables: | 49 variables: |
55 PY: py2 | 50 PY: py2 |
56 PYTHON: python2 | 51 PYTHON: python2 |
57 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | 52 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" |
58 TEST_HGMODULEPOLICY: "py" | 53 TEST_HGMODULEPOLICY: "py" |
59 | |
60 tests-py3-cext: | |
61 <<: *runtests | |
62 variables: | |
63 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt" | |
64 TEST_HGMODULEPOLICY: "c" | |
65 | |
66 tests-py3-pure: | |
67 <<: *runtests | |
68 variables: | |
69 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | |
70 TEST_HGMODULEPOLICY: "py" | |
71 | |
72 .windows_runtests_template: &windows_runtests | |
73 before_script: | |
74 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.t > C:/Temp/check-tests.txt' | |
75 script: | |
76 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && tests/testlib/update-hg-repo.sh C:/Temp/hg' | |
77 - > | |
78 C:/MinGW/msys/1.0/bin/sh.exe --login -c ' | |
79 cd "$OLDPWD" && | |
80 evo_branch=$(hg identify --branch) && | |
81 hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh "$evo_branch")} && | |
82 hg -R C:/Temp/hg update "$hg_branch" && | |
83 hg_rev=$(hg log -R C:/Temp/hg -r . -T "\{node\}") && | |
84 echo testing with mercurial branch="$hg_branch", revision="$hg_rev"' | |
85 - Invoke-Expression "$Env:PYTHON --version" | |
86 - echo "$Env:RUNTEST_ARGS" | |
87 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON C:/Temp/hg/tests/run-tests.py --color=always $RUNTEST_ARGS' | |
88 | |
89 windows-py3: | |
90 <<: *windows_runtests | |
91 tags: | |
92 - windows | |
93 variables: | |
94 PYTHON: py -3 | |
95 RUNTEST_ARGS: "--blacklist C:/Temp/check-tests.txt" | |
96 TEST_HGMODULEPOLICY: "c" | |
97 when: manual |