Skip to content

Commit

Permalink
chore(travis gitignore): add separation on branch master and canary
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinkl committed Mar 5, 2019
1 parent 84ed4c3 commit fee656a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@ package-lock.json

# ignore yarn lock on example
example/*/yarn.lock
example/*/package-lock.json
example/*/package-lock.json

# OSX
.DS_Store
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ jobs:
script:
- yarn build
deploy:
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^canary|master$
provider: script
skip_cleanup: true
script:
- echo "RELEASING"
- provider: script
on:
branch: canary
skip_cleanup: true
script:
- echo "RELEASING CANARY"
- provider: script
on:
branch: master
skip_cleanup: true
script:
- echo "RELEASING STABLE"

0 comments on commit fee656a

Please sign in to comment.