.travis.yml: no diagnostic reports

* .travis.yml (script): no diagnostic reports files should be
  left.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-03-03 15:37:47 +00:00
parent 70e0a56c89
commit f18951abda

View File

@ -68,6 +68,7 @@ script:
- "make test"
- "make test-all TESTOPTS='-q -j2'"
- "make test-rubyspec"
- "if [[ $TRAVIS_OS_NAME = 'osx' ]] && cd ~/Library/Logs/DiagnosticReports; then set ruby_\\*.crash; ! [ -f $1 ]; else :; fi"
after_failure:
- "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then find ~/Library/Logs/DiagnosticReports -type f -name ruby_\\*.crash -ls -execdir cat {} \\; -delete; fi"