Skip to content

Commit

Permalink
chore(build): travis stages for specific branches (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Oct 12, 2020
1 parent 0df7642 commit d3594a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ cache: yarn
jobs:
include:
- stage: Test
script: yarn test:lint
- before_script: yarn global add codecov
script: yarn test:ci
before_script: yarn global add codecov
script: yarn test
after_success: codecov
- stage: Beta Deploy
if: branch IN (stage, dev, ci)
script: yarn build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh
| bash -s
- stage: Stable Deploy
if: branch IN (master, main, prod, test, qa)
script: yarn build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh
| bash -s
env:
Expand Down

0 comments on commit d3594a5

Please sign in to comment.