aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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