Skip to content

Commit

Permalink
Attempt to run linter on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 3, 2020
1 parent 25c7ba7 commit fadc184
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ git:
notifications:
email: false

before_install:
- make install-lint-ci

# Run all scripts
script:
- make test-travis
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fadc184

Please sign in to comment.