summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-01 15:45:01 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-01 15:45:01 +0200
commit565493b57d3dbef94f4c298b7395e26fc24bb9bd (patch)
tree55573d33fb5331a430b001597435256bdea2ef61
parente340bb5bd18c805bbb8381ec8c6052bf95830bc2 (diff)
downloadsearxng-565493b57d3dbef94f4c298b7395e26fc24bb9bd.tar.gz
searxng-565493b57d3dbef94f4c298b7395e26fc24bb9bd.zip
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>
-rw-r--r--.travis.yml2
-rw-r--r--Makefile7
2 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c9847d632..e9f727a32 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ install:
- make V=1 install
- make V=1 gecko.driver
- make V=1 node.env
- - local/py3/bin/pip install codecov
+ - make V=1 travis.codecov
script:
- make V=1 themes
- make V=1 test
diff --git a/Makefile b/Makefile
index 65f79ba2c..7d5282802 100644
--- a/Makefile
+++ b/Makefile
@@ -220,4 +220,11 @@ test.clean:
@echo "CLEAN intermediate test stuff"
$(Q)rm -rf geckodriver.log .coverage coverage/
+
+# travis
+# ------
+
+travis.codecov:
+ $(Q)$(PY_ENV_BIN)/python -m pip install codecov
+
.PHONY: $(PHONY)