From f4086d78a25a939d7c73231bd5aafbf7561760cb Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Fri, 2 Aug 2019 15:36:14 +0300 Subject: travis: run linters --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4f2ee4d..3615a0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,14 @@ language: go + +install: true + +env: + - GO111MODULE=on + +before_script: + - go install github.com/golangci/golangci-lint/cmd/golangci-lint + +script: + - golangci-lint run + - go test -v -race ./... + - go build -- cgit v1.2.3