Skip to content

Commit

Permalink
Fix Travis core analysis; do not cat config.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Jan 4, 2019
1 parent 7fc79a3 commit 9a6436f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -48,10 +48,9 @@ after_script:
- if [ -n "$COVERAGE" ]; then coveralls --gcov-options '\-lp'; fi

after_failure:
- cat config.log
- find . -name "*.trs" -print0| xargs -0 grep -l '^:test-result: FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
- if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core -print0 | xargs -0 gdb -batch -x x `file core|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` core; fi
- if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core.\* -print | while read gdb; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; fi
- if [ $TRAVIS_OS_NAME = linux ]; then echo "thread apply all bt" > x; find . -name core.\* -print | while read gdb; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done

compiler:
- clang
Expand Down

0 comments on commit 9a6436f

Please sign in to comment.