File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ before_install:
1616install : true
1717
1818script :
19+ - env | grep TRAVIS_
1920 - make .govet
2021 - make .golint
21- - make .gitvalidation
22+ - echo "${TRAVIS_COMMIT_RANGE} -> ${TRAVIS_COMMIT_RANGE/.../..} (travis-ci/travis-ci#4596)"
23+ - TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make .gitvalidation
2224 - make docs
Original file line number Diff line number Diff line change 7474# When this is running in travis, it will only check the travis commit range
7575.gitvalidation :
7676 @which git-validation > /dev/null 2> /dev/null || (echo " ERROR: git-validation not found. Consider 'make install.tools' target" && false)
77- ifeq ( $( TRAVIS ) ,true)
77+ ifdef TRAVIS_COMMIT_RANGE
7878 git-validation -q -run DCO,short-subject,dangling-whitespace
7979else
8080 git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD
You can’t perform that action at this time.
0 commit comments