Skip to content
Snippets Groups Projects
Commit 98782486 authored by Georges Racinet's avatar Georges Racinet
Browse files

bootstrap: CI configuration

We're running tests against latest released Mercurial versions
and the heads of the stable and default branches.
parent c6481860
No related branches found
No related tags found
No related merge requests found
Pipeline #
[run]
omit=
hgitaly/stub/*
hgitaly/tests/*
stages:
- lint
- test
before_script:
- pip3 install --user -r dev-requirements.txt
lint:
stage: lint
image: octobus/ci-base
before_script: []
script:
- flake8 --exclude stub hgitaly
tests-5.2:
stage: test
image: octobus/ci-py3-hgext3rd:latest
script:
# should have a base image for that
- hg -R /ci/repos/mercurial up 5.2.1
- make -C /ci/repos/mercurial
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/pytest --cov hgitaly --cov-config=.coveragerc -v
tests-hg-stable:
stage: test
image: octobus/ci-py3-hgext3rd:latest
script:
- hg pull -R /ci/repos/mercurial/ --rev stable
- hg -R /ci/repos/mercurial up stable
- make -C /ci/repos/mercurial local PYTHON=python3
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/pytest --cov hgitaly --cov-config=.coveragerc -v
tests-hg-default:
stage: test
image: octobus/ci-py3-hgext3rd:latest
script:
- hg pull -R /ci/repos/mercurial/ --rev default
- hg -R /ci/repos/mercurial up default
- make -C /ci/repos/mercurial local PYTHON=python3
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/pytest --cov hgitaly --cov-config=.coveragerc -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment