From e65fe55686a03ac3fb8927d47299972a50c545dc Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 3 May 2016 15:25:31 -0400 Subject: [PATCH] travis: have make target be travis sensitive Signed-off-by: Vincent Batts --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 69724b96..559d6179 100644 --- a/Makefile +++ b/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