Skip to content

Commit

Permalink
add after_failure script to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Dec 18, 2018
1 parent c2dca75 commit 44a733e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- grep testsuite report.xml && (! grep 'failures="[1-9]' report.xml) && (! grep 'errors="[1-9]' report.xml)

after_failure:
- cat report.xml

0 comments on commit 44a733e

Please sign in to comment.