summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-02 18:59:43 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-02 18:59:43 +0200
commit2441e242884a196a21cbf11bd7726584849553e1 (patch)
treefd0aa9df0ca9eb881f4b81d1b1cac07215d0bb67 /Makefile
parent0a951d0e550089ec8499b87ca7077420b23ff368 (diff)
parent65e8af62b18d5776ebed02ae9d22e137d7f421ca (diff)
downloadsearxng-2441e242884a196a21cbf11bd7726584849553e1.tar.gz
searxng-2441e242884a196a21cbf11bd7726584849553e1.zip
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f38b5ca89..aefd005f4 100644
--- a/Makefile
+++ b/Makefile
@@ -210,6 +210,10 @@ gecko.driver:
PHONY += test test.sh test.pylint test.pep8 test.unit test.coverage test.robot
test: buildenv test.pylint test.pep8 test.unit gecko.driver test.robot
+ifeq ($(PY),2)
+test.pylint:
+ @echo "LINT skip liniting py2"
+else
# TODO: balance linting with pylint
test.pylint: pyenvinstall
@@ -217,6 +221,7 @@ test.pylint: pyenvinstall
searx/preferences.py \
searx/testing.py \
)
+endif
# ignored rules:
# E402 module level import not at top of file
@@ -256,4 +261,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)