From cd766f460333d31f3af05a5348d2757618911b20 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..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