Skip to content
Snippets Groups Projects
.gitlab-ci.yml 4.33 KiB
stages:
  - current
  - compat

variables:
  PYTHONPATH: /ci/repos/mercurial

tests-py2-hg-default:
    stage: compat
    image: octobus/ci-py2-hg-git
    script:
        - PYTHONPATH= hg pull -R /ci/repos/mercurial/ --rev default
        - PYTHONPATH= hg -R /ci/repos/mercurial/ update default
        - PYTHONPATH= hg -R /ci/repos/mercurial summary
        - make -C /ci/repos/mercurial local PYTHON=python2
        - cp /ci/repos/mercurial/hg .
        - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-stable:
    stage: compat
    image: octobus/ci-py2-hg-git
    script:
        - PYTHONPATH= hg pull -R /ci/repos/mercurial/ --rev stable
        - PYTHONPATH= hg -R /ci/repos/mercurial/ update stable
        - PYTHONPATH= hg -R /ci/repos/mercurial summary
        - make -C /ci/repos/mercurial local PYTHON=python2
        - cp /ci/repos/mercurial/hg .
        - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-5.3:
    stage: current
    image: octobus/ci-py2-hg-git:hg-5.3
    script:
      - cp /ci/repos/mercurial/hg .
      - ./hg version --debug
      - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-5.2:
    stage: compat
    image: octobus/ci-py2-hg-git:hg-5.2
    script:
      - cp /ci/repos/mercurial/hg .
      - ./hg version --debug
      - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-5.1:
    stage: compat
    image: octobus/ci-py2-hg-git:hg-5.1
    script:
      - cp /ci/repos/mercurial/hg .
      - ./hg version --debug
      - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-5.0:
    stage: compat
    image: octobus/ci-py2-hg-git:hg-5.0
    script:
      - cp /ci/repos/mercurial/hg .
      - ./hg version --debug
      - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-4.9:
    stage: compat
    image: octobus/ci-py2-hg-git:hg-4.9
    script:
      - cp /ci/repos/mercurial/hg .
      - ./hg version --debug
      - python2 tests/run-tests.py -lv --color=always

tests-py2-hg-4.8: