.gitlab-ci.yml
author Anton Shestakov <av6@dwimlabs.net>
Mon, 18 Nov 2019 14:33:59 +0700
changeset 4965 191ed83dbc07
parent 4959 edc29a909339
child 4966 4f3c87584a4a
permissions -rw-r--r--
pytype: ignore abc.ABCMeta metaclasses that don't work on py3 See 70d42e2ad9b4 in hg: We can remove this when we're Python 3-only, but for now it's just too awkward to deal with and it's harmless.

flake8:
    image: octobus/ci-py2-hgext3rd
    script:
        - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8

tests-py2-cext:
    image: octobus/ci-py2-hgext3rd
    script:
        - hg pull -R /ci/repos/mercurial/
        - hg -R /ci/repos/mercurial/ update `hg log -r . -T '{branch}'`
        - (cd tests; /ci/repos/mercurial/tests/run-tests.py --color=always)

tests-py2-pure:
    image: octobus/ci-py2-hgext3rd
    script:
        - hg pull -R /ci/repos/mercurial/
        - hg -R /ci/repos/mercurial/ update `hg log -r . -T '{branch}'`
        - (cd tests; /ci/repos/mercurial/tests/run-tests.py --color=always --pure)

tests-py3-cext:
    image: octobus/ci-py3-hgext3rd
    script:
        - hg pull -R /ci/repos/mercurial/
        - hg -R /ci/repos/mercurial/ update `hg log -r . -T '{branch}'`
        - (cd tests; python3 /ci/repos/mercurial/tests/run-tests.py --color=always)

tests-py3-pure:
    image: octobus/ci-py3-hgext3rd
    script:
        - hg pull -R /ci/repos/mercurial/
        - hg -R /ci/repos/mercurial/ update `hg log -r . -T '{branch}'`
        - (cd tests; python3 /ci/repos/mercurial/tests/run-tests.py --color=always --pure)