You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/08/31 06:11:38 UTC

[incubator-servicecomb-saga] branch master updated: Only deploy the artifacts in cron job

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git


The following commit(s) were added to refs/heads/master by this push:
     new b05c726  Only deploy the artifacts in cron job
b05c726 is described below

commit b05c7265a688ec33679bb07e0dea6d4e5b2f097e
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Fri Aug 31 14:11:12 2018 +0800

    Only deploy the artifacts in cron job
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 61eb210..2348fd6 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,4 +36,4 @@ script:
 - mvn clean verify -f saga-demo -Pdemo -Pdocker -P${SPRING_BOOT_PROFILE} -Ddocker.useColor=false -Ddocker.showLogs
 - mvn clean verify -f acceptance-tests -Pdemo -Pdocker -P${SPRING_BOOT_PROFILE} -Ddocker.useColor=false -Ddocker.showLogs
 after_success:
-- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash -x scripts/deploy.sh ; fi
+- if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then bash -x scripts/deploy.sh ; fi