From 26932d73762e3328da24a1f60aa7695b0208ffc7 Mon Sep 17 00:00:00 2001 From: Mia Henderson Date: Fri, 21 Jul 2017 14:59:35 -0400 Subject: [PATCH] Adding travis config, fixup Makefile --- .travis.yml | 11 +++++++++++ Makefile | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..3cbab24a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: go +dist: trusty +go: + - 1.8.3 + +branches: + only: + - master + +script: + - make build diff --git a/Makefile b/Makefile index 108ccfa8..2d234104 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ $(BINARY): $(SOURCES) .PHONY: build build: go get ./... - go test ./... - go vet ./... + go test -v -race -cover ./... + go tool vet $(SOURCES) .PHONY: test test: