comparison .gitlab-ci.yml @ 4923:d18908c5642a stable

heptapod-ci: point to our own docker images Lets step further into the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Nov 2019 11:59:10 +0100
parents ab0d09c93532
children cf1c67449fa7
comparison
equal deleted inserted replaced
4922:dacbd20b2f72 4923:d18908c5642a
1 flake8: 1 flake8:
2 image: octobus/ci-py2-hgext3rd
2 script: 3 script:
3 - pip install --user flake8 4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8
4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 ~/.local/bin/flake8
5 tests: 5 tests:
6 image: octobus/ci-py2-hgext3rd
6 script: 7 script:
7 - echo $PWD 8 - echo $PWD
8 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` 9 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"`
9 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ 10 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/
10 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` 11 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'`