diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-04-02 16:24:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-02 16:24:17 +0000 |
| commit | 65e8af62b18d5776ebed02ae9d22e137d7f421ca (patch) | |
| tree | 93e8a3a784577d2d1f3069231feb85c54f11829e /Makefile | |
| parent | 07932951f2c5d5ab7c89a78f389db2a9008d7631 (diff) | |
| parent | 70d114fab53ec0d826ae30f8dc48ee663c6cc3c4 (diff) | |
Merge pull request #1910 from return42/rfc-travis
improve travis build
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -186,12 +186,17 @@ PHONY += test 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 $(call cmd,pylint,\ searx/preferences.py \ searx/testing.py \ ) +endif # ignored rules: # E402 module level import not at top of file @@ -220,4 +225,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) |