Skip to content

Commit

Permalink
Deploy the artifacts with push event and master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemJiang committed Dec 7, 2017
1 parent 7dfd697 commit 51bb1c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ jobs:
include:
- stage: Compilation and Installation
script: scripts/travis.sh install
- stage: Deployment
if: [branch = master] AND [type IN (push)]
script: scripts/travis.sh deploy

deploy:
provider: script
script: scripts/travis.sh deploy
on:
branch: master

env:
global:
Expand Down

0 comments on commit 51bb1c5

Please sign in to comment.