From 509cf4fd62ce1234eb8e7b422447040eecddd0e9 Mon Sep 17 00:00:00 2001 From: tcnksm Date: Thu, 19 Jan 2017 18:52:50 +0900 Subject: [PATCH] Add travis setting --- .travis.yml | 18 ++++++++++++++++++ Makefile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..28464d8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: go +go: + - 1.7.4 + - 1.8rc1 + - tip + +os: + - linux + +sudo: false + +install: + - go get -v github.com/Masterminds/glide + +script: + - make bundle + - make check + \ No newline at end of file diff --git a/Makefile b/Makefile index 463b4f5..7cf7e11 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ fmt: @echo $(TARGETS_NOVENDOR) | xargs go fmt check: - go test $(TARGETS_NOVENDOR) + go test -v $(TARGETS_NOVENDOR) clean: rm -rf bin/*