.gitlab-ci.yml
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 14 Nov 2019 11:59:10 +0100
branchstable
changeset 4923 d18908c5642a
parent 4874 ab0d09c93532
child 4924 cf1c67449fa7
permissions -rw-r--r--
heptapod-ci: point to our own docker images Lets step further into the future.

flake8:
    image: octobus/ci-py2-hgext3rd
    script:
        - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8
tests:
    image: octobus/ci-py2-hgext3rd
    script:
        - echo $PWD
        - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
        - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
        - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`
        - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py -j 3)
        - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`