forked from AFPy/python-docs-fr
Rollback check in Makefile and associated various travis hacks.
This commit is contained in:
parent
7761dda58f
commit
bf16c9a4bb
|
@ -2,10 +2,10 @@ language: python
|
||||||
python: 3.6
|
python: 3.6
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y hunspell hunspell-fr-comprehensive python3-venv
|
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
|
||||||
install:
|
install:
|
||||||
- pip install pospell
|
- pip install pospell
|
||||||
- pospell --version
|
- pospell --version
|
||||||
script:
|
script:
|
||||||
- pospell -p dict -l fr **/*.po
|
- pospell -p dict -l fr **/*.po
|
||||||
- deactivate; make CPYTHON_CLONE=/tmp/cpython/ BRANCH=3.7
|
- make CPYTHON_CLONE=/tmp/cpython/ BRANCH=3.7
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -39,16 +39,10 @@ $(SPHINX_CONF):
|
||||||
|
|
||||||
.PHONY: upgrade_venv
|
.PHONY: upgrade_venv
|
||||||
upgrade_venv:
|
upgrade_venv:
|
||||||
ifdef VIRTUAL_ENV
|
|
||||||
$(error "Trying to create a venv while being in a venv. Please deactivate from your venv first.")
|
|
||||||
endif
|
|
||||||
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
|
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
|
||||||
|
|
||||||
|
|
||||||
$(VENV)/bin/activate:
|
$(VENV)/bin/activate:
|
||||||
ifdef VIRTUAL_ENV
|
|
||||||
$(error "Trying to create a venv while being in a venv. Please deactivate from your venv first.")
|
|
||||||
endif
|
|
||||||
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
|
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user