diff options
author | Andrea Barberio <insomniac@slackware.it> | 2019-05-08 13:51:39 +0100 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-05-08 20:08:19 +0100 |
commit | 5dea7039d65e5b94fa681b17bc4a3bf63aa47994 (patch) | |
tree | 5726ea67a6a46cef01edc18efc2ab886cb53b724 /.travis | |
parent | 7f47189c0d8f5c8b06ab1787a94506fbb673e6e0 (diff) |
[CI] Added linters
Now the CI will also run golangci-lint
Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/linters.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis/linters.sh b/.travis/linters.sh new file mode 100755 index 0000000..fba631d --- /dev/null +++ b/.travis/linters.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +go get github.com/golangci/golangci-lint/cmd/golangci-lint +go install github.com/golangci/golangci-lint/cmd/golangci-lint +golangci-lint run |