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:
Vincent Batts 2016-04-05 14:16:25 -04:00
parent d6aea95de9
commit 4f3147d876
1 changed files with 2 additions and 2 deletions

View File

@ -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