aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2019-06-07 11:22:16 -0400
committerEduardo Habkost <ehabkost@redhat.com>2019-06-18 11:15:08 -0300
commitc21f30ebc779cd4210b488dd702b3f8653aee82b (patch)
tree5e36eda477e402335f7dfb1b9fd10530da933251 /.travis.yml
parent0b98c20a7f7e960d7251ee182e7ff60a889e91eb (diff)
downloadqemu-c21f30ebc779cd4210b488dd702b3f8653aee82b.zip
qemu-c21f30ebc779cd4210b488dd702b3f8653aee82b.tar.gz
qemu-c21f30ebc779cd4210b488dd702b3f8653aee82b.tar.bz2
Travis: print acceptance tests logs in case of job failure
Because Travis doesn't allow us to keep files produced during tests (such as log files), let's print the complete job log to the "console" in case of job failures. This is a debugging aid, and given that there's been some timeouts happening on some tests, we absolutely needs the logs to have a proper action. Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20190607152223.9467-2-crosa@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2f16586..aeb9b21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -233,6 +233,8 @@ matrix:
- env:
- CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu"
- TEST_CMD="make check-acceptance"
+ after_failure:
+ - cat tests/results/latest/job.log
addons:
apt:
packages: