From fadc1849c5eef7044f169616056a4b64cd9442ed Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 3 Oct 2020 11:03:59 -0400 Subject: [PATCH] Attempt to run linter on deploy --- .travis.yml | 3 +++ Makefile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index abd6f1c..b42dfaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,9 @@ git: notifications: email: false +before_install: + - make install-lint-ci + # Run all scripts script: - make test-travis diff --git a/Makefile b/Makefile index b03d439..599e46f 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ clean: ## Remove previous builds and any test cache data lint:: ## Runs the golangci-lint tool @golangci-lint run +install-lint-ci: ## Installs the linter for Travis + @curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.31.0 + release:: ## Runs common.release then runs godocs @$(MAKE) godocs