travis: use Makefile target travis.codecov to install codecov
fix travis build error [1]::
The command "local/py3/bin/pip install codecov" failed and exited with 127
Use the correct pip (python environment) from build environment::
$(PY_ENV_BIN)/python -m pip
[1] https://travis-ci.org/github/asciimoo/searx/jobs/669701405#L590
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
commit565493b57d3dbef94f4c298b7395e26fc24bb9bd
authorMarkus Heiser <markus.heiser@darmarit.de>
dateWed 1 Apr 2020, 15:45 (7 years ago)
parente340bb5
.travis.yml+1−1
@@ -14,7 +14,7 @@ install:
1414 - make V=1 install
1515 - make V=1 gecko.driver
1616 - make V=1 node.env
17− - local/py3/bin/pip install codecov
17+ - make V=1 travis.codecov
1818script:
1919 - make V=1 themes
2020 - make V=1 test
Makefile+7
@@ -220,4 +220,11 @@ test.clean:
220220 @echo "CLEAN intermediate test stuff"
221221 $(Q)rm -rf geckodriver.log .coverage coverage/
222222
223+
224+# travis
225+# ------
226+
227+travis.codecov:
228+ $(Q)$(PY_ENV_BIN)/python -m pip install codecov
229+
223230.PHONY: $(PHONY)