Trying to fix CI.

This commit is contained in:
Julien Palard 2018-10-20 13:13:44 +02:00
parent 5b108f4f21
commit a0e86dabd8
2 changed files with 4 additions and 2 deletions

View File

@ -8,4 +8,4 @@ install:
- pospell --version
script:
- pospell -p dict -l fr **/*.po
- make CPYTHON_CLONE=/tmp/cpython/ BRANCH=d4ed8809dd
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d4ed8809dd

View File

@ -20,6 +20,7 @@ VENV := ~/.venvs/python-docs-i18n/
PYTHON := $(shell which python3)
MODE := autobuild-dev-html
BRANCH = 3.7
COMMIT =
JOBS = 4
@ -34,7 +35,8 @@ endif
$(SPHINX_CONF):
git clone --depth 1 --no-single-branch --branch $(BRANCH) https://github.com/python/cpython.git $(CPYTHON_CLONE)
git clone --depth 1 --branch $(BRANCH) https://github.com/python/cpython.git $(CPYTHON_CLONE)
[ -n "$(COMMIT)" ] && i=1; while ! $$(git -C $(CPYTHON_CLONE) checkout $(COMMIT)); do i=$$((i * 2)); git -C $(CPYTHON_CLONE) fetch --depth $$i; done
.PHONY: upgrade_venv