From 51bb1c5c3324cedad6d8d5d409713d07d9b15b5e Mon Sep 17 00:00:00 2001 From: Willem Jiang Date: Thu, 7 Dec 2017 22:48:38 +0800 Subject: [PATCH] Deploy the artifacts with push event and master branch --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 479fe68a5b..8b71380f5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: