Write any dumpstream files into the Travis logs.

This means that we will see the errors if Surefire is bailing for any
reason.
This commit is contained in:
Ewan Mellor 2018-11-10 13:30:33 -08:00
parent 0f6581e480
commit c2d69af6db
No known key found for this signature in database
GPG Key ID: 7CE1C6BC9EC8645D
1 changed files with 6 additions and 1 deletions

View File

@ -202,4 +202,9 @@ before_install:
- f="./.travis/before-install-$TRAVIS_OS_NAME-$TARGET.sh"; ! [ -x "$f" ] || "$f"
script:
- cd runtime-testsuite; travis_wait 40 ../.travis/run-tests-$TARGET.sh
- |
cd runtime-testsuite;
travis_wait 40 ../.travis/run-tests-$TARGET.sh;
rc=$?;
cat target/surefire-reports/*.dumpstream || true;
exit $rc