Skip to content

Commit

Permalink
build: create canary build on changes on master branch (#120)
Browse files Browse the repository at this point in the history
Issue: providers repo doesn't have a canary build.
Solution: add build for every change on the master branch as we do on the Kaltura player.
  • Loading branch information
Yuvalke authored Oct 5, 2020
1 parent 1d32a94 commit 821edb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
name: 'Release'
script:
- conventional-github-releaser -p angular -t $GH_TOKEN
- stage: Release canary
if: (branch = master) AND (type != pull_request) AND commit_message !~ /^chore\(release\)/ AND commit_message !~ /^(chore).*(update dist)$/
name: 'Release canary'
script:
- git checkout master
- yarn install
- yarn run build
- git push https://[email protected]/kaltura/playkit-js-providers "master" > /dev/null 2>&1
# Required tests
- stage: Tests
if: (branch = master) OR (tag IS present) OR (type = pull_request)
Expand Down

0 comments on commit 821edb3

Please sign in to comment.