Skip to content

Commit 36b61ae

Browse files
committed
travis: use alternate commit range
Signed-off-by: Vincent Batts <[email protected]>
1 parent 3f3dbc5 commit 36b61ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ before_install:
2525
- go get -u github.com/mvdan/sh/cmd/shfmt
2626

2727
script:
28-
- git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
28+
- git-validation -run DCO,short-subject -v -range ${TRAVIS_BRANCH}..FETCH_HEAD
2929
- make BUILDTAGS="${BUILDTAGS}"
3030
- make BUILDTAGS="${BUILDTAGS}" clean validate test

0 commit comments

Comments
 (0)