comparison .gitlab-ci.yml @ 5370:06b5e43ac29c

ci: print the exact version of pytype
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 14 Jun 2020 00:36:37 +0800
parents 2295818ec738
children 02804d8bac31
comparison
equal deleted inserted replaced
5369:2295818ec738 5370:06b5e43ac29c
2 image: octobus/ci-py3-hgext3rd 2 image: octobus/ci-py3-hgext3rd
3 script: 3 script:
4 - hg pull -R /ci/repos/mercurial/ 4 - hg pull -R /ci/repos/mercurial/
5 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')") 5 - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
6 - hg -R /ci/repos/mercurial/ update "$hg_rev" 6 - hg -R /ci/repos/mercurial/ update "$hg_rev"
7 - pytype --version
7 - jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()') 8 - jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()')
8 - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true 9 - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true
9 when: manual 10 when: manual
10 11
11 variables: 12 variables: