You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/01/15 06:18:55 UTC

[GitHub] seanyinx commented on a change in pull request #119: SCB-233 update to deploy only with non PR building

seanyinx commented on a change in pull request #119: SCB-233 update to deploy only with non PR building
URL: https://github.com/apache/incubator-servicecomb-saga/pull/119#discussion_r161437204
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -27,7 +27,7 @@ script:
 - mvn clean install -Pjacoco -Pdocker coveralls:report
 - mvn clean verify -f saga-demo -Pdemo -Pdocker -Ddocker.useColor=false -Ddocker.showLogs
 after_success:
-- mvn deploy -DskipTests --settings .travis.settings.xml
+- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn deploy -DskipTests --settings .travis.settings.xml; fi
 
 Review comment:
   how about checking if branch is master instead?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services