travis: have make target be travis sensitive
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
3b78e51738
commit
e65fe55686
7
Makefile
7
Makefile
|
@ -73,7 +73,12 @@ endif
|
|||
# When this is running in travis, it will only check the travis commit range
|
||||
.gitvalidation:
|
||||
@which git-validation > /dev/null 2>/dev/null || (echo "ERROR: git-validation not found. Consider 'make install.tools' target" && false)
|
||||
git-validation -q -run DCO,short-subject,dangling-whitespace -v -range $(EPOCH_TEST_COMMIT)..HEAD
|
||||
ifeq ($(TRAVIS),true)
|
||||
git-validation -q -run DCO,short-subject,dangling-whitespace
|
||||
else
|
||||
git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD
|
||||
endif
|
||||
|
||||
|
||||
.PHONY: install.tools
|
||||
install.tools: .install.golint .install.govet .install.gitvalidation
|
||||
|
|
Loading…
Reference in New Issue