forked from Ponysearch/Ponysearch
travis: make travis build more verbose
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
d599bdff0d
commit
3bbcfe6ab3
1 changed files with 5 additions and 3 deletions
|
@ -124,10 +124,12 @@ quiet_cmd_pyenvuninstall = PYENV uninstall $2
|
||||||
quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate
|
quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate
|
||||||
cmd_virtualenv = \
|
cmd_virtualenv = \
|
||||||
if [ ! -d "$(PY_ENV)" ];then \
|
if [ ! -d "$(PY_ENV)" ];then \
|
||||||
|
echo "PYENV create virtualenv $2"; \
|
||||||
$(PYTHON) -m venv $(VTENV_OPTS) $2; \
|
$(PYTHON) -m venv $(VTENV_OPTS) $2; \
|
||||||
else \
|
else \
|
||||||
echo "PYENV using virtualenv from $2"; \
|
echo "PYENV using virtualenv from $2"; \
|
||||||
fi
|
fi; \
|
||||||
|
echo "commands available at $(PY_ENV_BIN):"; ls $(PY_ENV_BIN) | $(FMT) ;
|
||||||
|
|
||||||
# $2 path to lint
|
# $2 path to lint
|
||||||
quiet_cmd_pylint = LINT $@
|
quiet_cmd_pylint = LINT $@
|
||||||
|
@ -205,8 +207,8 @@ pyclean:
|
||||||
pyenv: $(PY_ENV)
|
pyenv: $(PY_ENV)
|
||||||
$(PY_ENV): python-exe
|
$(PY_ENV): python-exe
|
||||||
$(call cmd,virtualenv,$(PY_ENV))
|
$(call cmd,virtualenv,$(PY_ENV))
|
||||||
@$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) -U wheel pip setuptools
|
$(Q)$(PY_ENV_BIN)/python -m pip install $(PIP_VERBOSE) -U pip wheel pip setuptools
|
||||||
@$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) -r requirements.txt
|
$(Q)$(PY_ENV_BIN)/python -m pip install $(PIP_VERBOSE) -r requirements.txt
|
||||||
|
|
||||||
PHONY += pylint-exe
|
PHONY += pylint-exe
|
||||||
pylint-exe: $(PY_ENV)
|
pylint-exe: $(PY_ENV)
|
||||||
|
|
Loading…
Reference in a new issue