Skip to content

Commit af056a3

Browse files
committed
travis: git-validation detects travis now
The `-range` argument is not needed. Signed-off-by: Vincent Batts <[email protected]>
1 parent 6734c7a commit af056a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ sudo: false
77

88
before_install:
99
- go version | (grep -q 'go1.[56]' || exit 0 && go get -u github.com/golang/lint/golint )
10-
- go get github.com/vbatts/git-validation
10+
- go get -u github.com/vbatts/git-validation
1111

1212
install: true
1313

1414
script:
1515
- go vet -x ./...
1616
- make .golint
17-
- $HOME/gopath/bin/git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
17+
- git-validation -run DCO,short-subject -v
1818

0 commit comments

Comments
 (0)