From b29c3210931eb1f7b3df7a190bd6860ef6bc4c67 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 5 Apr 2016 15:16:13 -0400 Subject: [PATCH] travis: use the git-validation tool Signed-off-by: Vincent Batts --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 29fa26f..3b8a154 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ sudo: false before_install: - go get golang.org/x/tools/cmd/vet - go get -u github.com/golang/lint/golint - - mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/git-validation && go get ./... + - mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/git-validation && go get ./... && go install github.com/vbatts/git-validation install: true @@ -17,4 +17,5 @@ script: - golint ./... - go build . - go test -v ./... + - git-validation -v -run short-subject,dangling-whitespace