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: [email protected] With regards, Apache Git Services
