.gitlab-ci.yml
author Anton Shestakov <av6@dwimlabs.net>
Wed, 09 Oct 2019 21:22:03 +0700
branchstable
changeset 4898 9936aecc9ea3
parent 4874 ab0d09c93532
child 4923 d18908c5642a
permissions -rw-r--r--
metaedit: don't change commit date by default (issue5994) We deliberately unset devel.default-date to allow hg commands to see the real system date, that demonstrates that metaedit doesn't fall back to system date for any of these commands.

flake8:
    script:
        - pip install --user flake8
        - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 ~/.local/bin/flake8
tests:
    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}"`