Skip to content

Commit ef9a4b3

Browse files
Merge pull request opencontainers#1383 from wking/automatic-git-validation-commit-range
.travis.yml: Don't require FETCH_HEAD (partial fix for failing master tests)
2 parents 6b574d5 + d1fb97f commit ef9a4b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ before_install:
2323
- go get -u github.com/golang/lint/golint
2424
- go get -u github.com/vbatts/git-validation
2525
- go get -u github.com/mvdan/sh/cmd/shfmt
26+
- env | grep TRAVIS_
2627

2728
script:
28-
- git-validation -run DCO,short-subject -v -range ${TRAVIS_BRANCH}..FETCH_HEAD
29+
- git-validation -run DCO,short-subject -v
2930
- make BUILDTAGS="${BUILDTAGS}"
3031
- make BUILDTAGS="${BUILDTAGS}" clean validate test

0 commit comments

Comments
 (0)