Skip to content

Commit 3fc6fda

Browse files
authoredMar 9, 2021
fix(commitlint): skip task on master (#3650)
1 parent 5bfcf5f commit 3fc6fda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- node_js: "14"
2020
script:
2121
- npm run init
22-
- commitlint-travis
22+
- if [[ "$TRAVIS_BRANCH" != "master" ]]; then
23+
commitlint-travis;
24+
fi;
2325
- npm run lint
2426
- npm run build:check
2527
- npm run test:unit

0 commit comments

Comments
 (0)
Please sign in to comment.