Skip to content

Commit bc52f0a

Browse files
committed
tools: use shell script to lint commit message
1 parent fa99a11 commit bc52f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ matrix:
1313
script:
1414
- make lint
1515
# Lint the first commit in the PR.
16-
- \[ -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)
16+
- bash tools/lint-commit-message.sh
1717
- name: "Test Suite"
1818
install:
1919
- ./configure

0 commit comments

Comments
 (0)