From bc52f0af59fb703e6def4116a3fb65d798a69b2f Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Fri, 19 Oct 2018 13:18:53 -0400 Subject: [PATCH] tools: use shell script to lint commit message --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 004c6ab4cf7236..7a754075168554 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: script: - make lint # Lint the first commit in the PR. - - \[ -z "$TRAVIS_COMMIT_RANGE" \] || (echo -e '\nLinting the commit message according to the guidelines at https://goo.gl/p2fr5Q\n' && git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx -q core-validate-commit --no-validate-metadata) + - bash tools/lint-commit-message.sh - name: "Test Suite" install: - ./configure