From 61b00ded16a506595955f217e863f9d233efb0bb Mon Sep 17 00:00:00 2001 From: Chris Bottin Date: Sat, 13 Feb 2021 17:46:26 +0000 Subject: [PATCH] fix(commitlint): skip task on master --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c1e548d8..2ef571c57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,9 @@ jobs: - node_js: "14" script: - npm run init - - commitlint-travis + - if [[ "$TRAVIS_BRANCH" != "master" ]]; then + commitlint-travis + fi; - npm run lint - npm run build:check - npm run test:unit