comparison .gitlab-ci.yml @ 5159:e5fe3ca5e6ad mercurial-5.0

test-compat: merge mercurial-5.1 into mercurial-5.0
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 28 Feb 2020 23:18:48 +0700
parents 3bcdaf298c7a 43b448bb1a57
children a7fb433faab6 868e7bc03b5f
comparison
equal deleted inserted replaced
5158:8d20c0af010a 5159:e5fe3ca5e6ad
1 flake8: 1 flake8:
2 image: octobus/ci-py2-hgext3rd 2 image: octobus/ci-py2-hgext3rd
3 script: 3 script:
4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8 4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8
5
6 pytype:
7 image: octobus/ci-py3-hgext3rd
8 script:
9 - hg pull -R /ci/repos/mercurial/
10 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
11 - hg -R /ci/repos/mercurial/ update "$hg_rev"
12 - jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()')
13 - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true
14 when: manual
15 5
16 tests-py2-cext: 6 tests-py2-cext:
17 image: octobus/ci-py2-hgext3rd 7 image: octobus/ci-py2-hgext3rd
18 script: 8 script:
19 - hg pull -R /ci/repos/mercurial/ 9 - hg pull -R /ci/repos/mercurial/
26 script: 16 script:
27 - hg pull -R /ci/repos/mercurial/ 17 - hg pull -R /ci/repos/mercurial/
28 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')") 18 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
29 - hg -R /ci/repos/mercurial/ update "$hg_rev" 19 - hg -R /ci/repos/mercurial/ update "$hg_rev"
30 - (cd tests; /ci/repos/mercurial/tests/run-tests.py --color=always --pure) 20 - (cd tests; /ci/repos/mercurial/tests/run-tests.py --color=always --pure)
31
32 tests-py3-cext:
33 image: octobus/ci-py3-hgext3rd
34 script:
35 - hg pull -R /ci/repos/mercurial/
36 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
37 - hg -R /ci/repos/mercurial/ update "$hg_rev"
38 - (cd tests; python3 /ci/repos/mercurial/tests/run-tests.py --color=always)
39
40 tests-py3-pure:
41 image: octobus/ci-py3-hgext3rd
42 script:
43 - hg pull -R /ci/repos/mercurial/
44 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
45 - hg -R /ci/repos/mercurial/ update "$hg_rev"
46 - (cd tests; python3 /ci/repos/mercurial/tests/run-tests.py --color=always --pure)
47
48 doc:
49 image: octobus/ci-py2-evolve-doc
50 script:
51 - cd docs/
52 - make
53 variables:
54 LANG: en_us.UTF-8
55 artifacts:
56 paths:
57 - html/*