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:
16
16
install : true
17
17
18
18
script :
19
+ - env | grep TRAVIS_
19
20
- make .govet
20
21
- 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
22
24
- make docs
Original file line number Diff line number Diff line change 74
74
# When this is running in travis, it will only check the travis commit range
75
75
.gitvalidation :
76
76
@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
78
78
git-validation -q -run DCO,short-subject,dangling-whitespace
79
79
else
80
80
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