mirror of
https://github.com/vbatts/git-validation.git
synced 2025-01-30 15:17:33 +00:00
travis: use the git-validation tool
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
8193a24bc4
commit
b29c321093
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue