How to get surefire reports form Travis-CI build?
The question says it all really. How can I download or view the surefire-reports generated during a build on Travis? You can just do after_failure: - cat target/surefire-reports/*.txt Having not found a direct way to access the surefire-report files I came up with the this workaround: In .travis.yml I added an after_failure hook: after_failure: print_surefire_reports.sh In the hook print_surefire_reports.sh I put: #!/usr/bin/env sh echo "Current directory is $(pwd)" echo "\n=== SUREFIRE REPORTS ===\n" for F in target/surefire-reports/*.txt do echo $F cat $F echo done I am using python