.gitlab-ci.yml
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 15 Nov 2019 16:04:35 -0800
changeset 4964 bb2042ff6444
parent 4959 edc29a909339
child 4966 4f3c87584a4a
permissions -rw-r--r--
tests: remove extra whitespace before patch in obslog output The indent() template function was fixed in https://phab.mercurial-scm.org/D7432 so now we have less trailing whitespace in obslog output. CORE-TEST-OUTPUT-UPDATE: fa246ada356b

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)