Skip to content

Commit e65fe55

Browse files
committed
travis: have make target be travis sensitive
Signed-off-by: Vincent Batts <[email protected]>
1 parent 3b78e51 commit e65fe55

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,12 @@ endif
7373
# When this is running in travis, it will only check the travis commit range
7474
.gitvalidation:
7575
@which git-validation > /dev/null 2>/dev/null || (echo "ERROR: git-validation not found. Consider 'make install.tools' target" && false)
76-
git-validation -q -run DCO,short-subject,dangling-whitespace -v -range $(EPOCH_TEST_COMMIT)..HEAD
76+
ifeq ($(TRAVIS),true)
77+
git-validation -q -run DCO,short-subject,dangling-whitespace
78+
else
79+
git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD
80+
endif
81+
7782

7883
.PHONY: install.tools
7984
install.tools: .install.golint .install.govet .install.gitvalidation

0 commit comments

Comments
 (0)