aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2019-08-02 15:36:14 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2019-08-02 15:36:14 +0300
commitf4086d78a25a939d7c73231bd5aafbf7561760cb (patch)
tree30c6566245c91de6aa8c69742b179759c97eeb9e /.travis.yml
parent5dc60639e1032e76769ceaab34daf108fcc1ca0c (diff)
downloadradiorus-rss-f4086d78a25a939d7c73231bd5aafbf7561760cb.tar.gz
radiorus-rss-f4086d78a25a939d7c73231bd5aafbf7561760cb.zip
travis: run linters
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 13 insertions, 0 deletions
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