From dea429d0f0c8c07e9028954829723a4d5de454c1 Mon Sep 17 00:00:00 2001 From: Sergey Frolov Date: Fri, 8 Sep 2017 15:57:50 -0600 Subject: [PATCH] Add Travis CI integration --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2e508e4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: go + +go: + - 1.8.x + - 1.9 + +sudo: required +dist: trusty + +install: + - go get -t ./... + - go get github.com/golang/lint/golint + # Install gometalinter and certain linters + - go get github.com/alecthomas/gometalinter + - go get github.com/client9/misspell/cmd/misspell + - go get github.com/gordonklaus/ineffassign + +script: + - go test -race -v . + - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign --tests .