Add .travis.yml

This commit is contained in:
knqyf263
2017-02-24 20:10:07 +09:00
parent 5581a5cce7
commit 6e77c714b5
3 changed files with 9 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ REVISION := $(shell git rev-parse --short HEAD)
LDFLAGS := -X 'main.version=$(VERSION)' \
-X 'main.revision=$(REVISION)'
all: glide deps build test
glide:
go get github.com/Masterminds/glide
@@ -37,7 +39,6 @@ build: main.go deps
install: main.go deps
go install -ldflags "$(LDFLAGS)"
all: test
lint:
@ go get -v github.com/golang/lint/golint