diff --git a/.travis.yml b/.travis.yml index 5894160b9..17f4840ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ before_install: install: true script: + - env | grep TRAVIS_ - make .gitvalidation - make lint - make check-license diff --git a/Makefile b/Makefile index e4480971b..136db420f 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ img/%.png: img/%.dot # 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) -ifeq ($(TRAVIS),true) +ifdef TRAVIS_COMMIT_RANGE git-validation -q -run DCO,short-subject,dangling-whitespace else git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD