travis: git-validation detects travis now
The `-range` argument is not needed. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
d6aea95de9
commit
4f3147d876
|
@ -7,12 +7,12 @@ sudo: false
|
|||
|
||||
before_install:
|
||||
- go version | (grep -q 'go1.[56]' || exit 0 && go get -u github.com/golang/lint/golint )
|
||||
- go get github.com/vbatts/git-validation
|
||||
- go get -u github.com/vbatts/git-validation
|
||||
|
||||
install: true
|
||||
|
||||
script:
|
||||
- go vet -x ./...
|
||||
- make .golint
|
||||
- $HOME/gopath/bin/git-validation -run DCO,short-subject,dangling-whitespace -v -range ${TRAVIS_COMMIT_RANGE}
|
||||
- git-validation -run DCO,short-subject,dangling-whitespace -v
|
||||
|
||||
|
|
Loading…
Reference in New Issue