From 3fc6fdadd6b0ed6838de048c15485b1bd815fe23 Mon Sep 17 00:00:00 2001 From: Chris Bottin Date: Tue, 9 Mar 2021 00:06:33 +0000 Subject: [PATCH] fix(commitlint): skip task on master (#3650) --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c1e548d8..e6bee9aca 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