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

ci: explicitely install requirements

we don't want to simply `install .` in the
before_script because we want to install precise Mercurial and
hg-evolve versions first.

Also, typically, the current head of hg-git is required
to work with Mercurial stable or default.
parent 4544266a
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@
stage: test
image: octobus/ci-py2-hgext3rd:hg-5.2
script:
- pip install --user -r install-requirements.txt
- PYTHONPATH=/ci/repos/mercurial python -c "from mercurial import util; print(util.version())"
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/py.test --cov heptapod --cov hgext3rd.heptapod
......@@ -46,6 +47,7 @@
- (cd /ci/repos/mercurial; make local)
- hg clone -r stable -u stable $EVOLVE_REPO_URL $EVOLVE_LOCAL_REPO
- pip install --user $EVOLVE_LOCAL_REPO
- pip install --user hg+https://foss.heptapod.net/mercurial/hg-git@default#egg=hggit
- /ci/repos/mercurial/hg version --debug
- PYTHONPATH=/ci/repos/mercurial python -c "from mercurial import util; print(util.version())"
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/py.test --cov heptapod --cov hgext3rd.heptapod
......@@ -61,5 +63,6 @@
- make -C /ci/repos/mercurial local
- hg clone -r stable -u stable $EVOLVE_REPO_URL $EVOLVE_LOCAL_REPO
- pip install --user $EVOLVE_LOCAL_REPO
- pip install --user hg+https://foss.heptapod.net/mercurial/hg-git@default#egg=hggit
- PYTHONPATH=/ci/repos/mercurial python -c "from mercurial import util; print(util.version())"
- PYTHONPATH=/ci/repos/mercurial ~/.local/bin/py.test --cov heptapod --cov hgext3rd.heptapod
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