Skip to content

Commit

Permalink
ci: avoid run tests on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 31, 2021
1 parent afdb8b5 commit 9a543ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ after_success: npm run coverage

stages:
- Test
if: branch = master AND commit_message !~ /(release|no-release)/
- name: Release
if: branch = master AND commit_message !~ /(release|no-release)/

Expand All @@ -26,4 +27,4 @@ jobs:
provider: script
script: npm run release
on:
branch: master
branch: master

0 comments on commit 9a543ef

Please sign in to comment.