Skip to content

Commit

Permalink
build(FEC-11389): reduce builds from travis
Browse files Browse the repository at this point in the history
Ignore tests for release & tag commit
  • Loading branch information
Yuvalke committed Jul 6, 2021
1 parent 579e764 commit 460c85a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
branch: master
# Required tests
- stage: Tests
if: (branch = master) OR (tag IS present) OR (type = pull_request)
if: ((branch = master) OR (tag IS present) OR (type = pull_request)) AND commit_message !~ /^chore\(release\)/
name: 'Running lint'
env: TRAVIS_MODE=lint
- stage: Tests
if: (branch = master) OR (tag IS present) OR (type = pull_request)
if: ((branch = master) OR (tag IS present) OR (type = pull_request)) AND commit_message !~ /^chore\(release\)/
name: 'Running Flow type check'
env: TRAVIS_MODE=flow
- stage: Tests
if: (branch = master) OR (tag IS present) OR (type = pull_request)
if: ((branch = master) OR (tag IS present) OR (type = pull_request)) AND commit_message !~ /^chore\(release\)/
name: 'Running unit tests'
env: TRAVIS_MODE=unitTests

0 comments on commit 460c85a

Please sign in to comment.