From 44a733e66b8d20ee062a1630ddd5a0cfedf38bd6 Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Tue, 18 Dec 2018 12:10:55 +0100 Subject: [PATCH] add after_failure script to travis --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0565ccb..9ec30ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,7 @@ before_install: - docker exec -it exist curl "http://127.0.0.1:8080/exist/apps/WeGA-WebApp-lib/testing/run-tests.xql" > report.xml script: - - grep testsuite report.xml && (! grep 'failures="[1-9]' report.xml) && (! grep 'errors="[1-9]' report.xml) \ No newline at end of file + - grep testsuite report.xml && (! grep 'failures="[1-9]' report.xml) && (! grep 'errors="[1-9]' report.xml) + +after_failure: + - cat report.xml