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

22 lines
474 B
YAML
Raw Normal View History

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