Skip to content

Commit cbea66a

Browse files
committed
Merge pull request #422 from vbatts/travis_make_target
travis: have make target be travis sensitive
2 parents 3b78e51 + e65fe55 commit cbea66a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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)