From e5bb1b627d51b685fe7955089fad58e720d665f9 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Thu, 7 Jul 2016 13:13:21 -0700 Subject: [PATCH] Add .travis.yml --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1cb9e92 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +sudo: false +language: go +go: go1.6 +install: + - go get -u github.com/golang/lint/golint +script: + - test -z "$(gofmt -s -l -w . | tee /dev/stderr)" + - test -z "$(golint . | tee /dev/stderr)" + - go vet -v . + - go test -v -cover ./...