1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2025-01-30 23:27:35 +00:00
git-validation/.travis.yml
Vincent Batts b29c321093 travis: use the git-validation tool
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-04-05 15:42:22 -04:00

21 lines
474 B
YAML

language: go
go:
- 1.6
- 1.5.3
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 ./... && go install github.com/vbatts/git-validation
install: true
script:
- go vet -x ./...
- golint ./...
- go build .
- go test -v ./...
- git-validation -v -run short-subject,dangling-whitespace