Trying to fix CI.
This commit is contained in:
parent
5b108f4f21
commit
a0e86dabd8
|
@ -8,4 +8,4 @@ install:
|
||||||
- pospell --version
|
- pospell --version
|
||||||
script:
|
script:
|
||||||
- pospell -p dict -l fr **/*.po
|
- pospell -p dict -l fr **/*.po
|
||||||
- make CPYTHON_CLONE=/tmp/cpython/ BRANCH=d4ed8809dd
|
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d4ed8809dd
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -20,6 +20,7 @@ VENV := ~/.venvs/python-docs-i18n/
|
||||||
PYTHON := $(shell which python3)
|
PYTHON := $(shell which python3)
|
||||||
MODE := autobuild-dev-html
|
MODE := autobuild-dev-html
|
||||||
BRANCH = 3.7
|
BRANCH = 3.7
|
||||||
|
COMMIT =
|
||||||
JOBS = 4
|
JOBS = 4
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,7 +35,8 @@ endif
|
||||||
|
|
||||||
|
|
||||||
$(SPHINX_CONF):
|
$(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
|
.PHONY: upgrade_venv
|
||||||
|
|
Loading…
Reference in New Issue
Block a user