You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by hy...@apache.org on 2019/12/26 08:29:37 UTC

[dubbo-samples] branch master updated: add docker logs for travis ci (#134)

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

hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 7db8f52  add docker logs for travis ci (#134)
7db8f52 is described below

commit 7db8f525fb75bae36e8ff7c48696446d6ae0fb30
Author: Huang YunKun <ht...@gmail.com>
AuthorDate: Thu Dec 26 16:29:32 2019 +0800

    add docker logs for travis ci (#134)
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 00aec83..03287b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,9 @@ before_script: cd java
 
 script:
   - ./mvnw -U --batch-mode --no-transfer-progress --settings .mvn/settings.xml clean install -pl dubbo-maven-address-plugin -Ddubbo.version=2.7.5-SNAPSHOT
-  - ./mvnw -U --batch-mode --no-transfer-progress --settings .mvn/settings.xml clean verify -Pdubbo-integration-test -Djava-image.name=${JAVA_BASE_IMAGE} -Ddubbo.version=2.7.5-SNAPSHOT
+  - travis_wait 30 ./mvnw -U --batch-mode --no-transfer-progress --settings .mvn/settings.xml clean verify -Pdubbo-integration-test -Djava-image.name=${JAVA_BASE_IMAGE} -Ddubbo.version=2.7.5-SNAPSHOT -Ddocker.showLogs > output.log
 
+after_failure:
+  - tail -n 5000 output.log
 after_success:
   - bash <(curl -s https://codecov.io/bash)


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org