ci: commitlint only on pull requests

This commit is contained in:
Michael Vines 2019-06-28 09:52:30 -07:00
parent 8a41292e08
commit 329955f4e6
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ before_install:
- rustup --version
script:
- npx commitlint-travis
- if [[ $TRAVIS_PULL_REQUEST != false ]]; npx commitlint-travis; fi
- ls -l lib
- test -r lib/index.iife.js
- test -r lib/index.cjs.js