1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2024-11-23 00:25:41 +00:00
git-validation/.travis.yml
Vincent Batts 032c0d21e9
travis: test on latest go branches
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-27 14:05:44 -04:00

25 lines
446 B
YAML

language: go
go:
- tip
- 1.x
- 1.8.x
- 1.7.x
- 1.6.x
sudo: false
before_install:
- 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 ./...
before_script:
- env
install: true
script:
- go vet -x ./...
- golint ./...
- go build .
- go test -v ./...
- ./git-validation -run DCO,short-subject,dangling-whitespace -v