Testing CI - .travis - print surefire reports on failure

This commit is contained in:
Robin Bygrave
2016-01-28 09:00:44 +13:00
parent f34b5e52e0
commit 036086af02
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ env:
- EBEAN_DB=h2
- EBEAN_DB=pg
after_failure:
- ./.travis/print_surefire_reports
cache:
directories:
- $HOME/.m2
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
echo "\n=== SUREFIRE REPORTS ===\n"
for file in target/surefire-reports/*.txt
do
echo ${file}
cat ${file}
echo
done