Skip to content

Commit

Permalink
Add script to wrap builds.
Browse files Browse the repository at this point in the history
Should allow us to dump the JVM error logs to figure out why
we get segfaults when running JRuby.
  • Loading branch information
roidrage committed Aug 3, 2012
1 parent 7156936 commit a5c5d1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -18,5 +18,7 @@ matrix:
env: JRUBY_OPTS="--server -Xcext.enabled=false -Xcompile.invokedynamic=false --1.8"
before_script:
- 'RAILS_ENV=test rake db:create db:schema:load --trace'
script:
- './build.sh'
notifications:
irc: "irc.freenode.org#travis"
5 changes: 5 additions & 0 deletions build.sh
@@ -0,0 +1,5 @@
#!/bin/bash
RAILS_ENV=test bundle exec rake
export tresult=$?
find . -name hs_err_pid*.log -exec cat {} \;
exit $tresult

0 comments on commit a5c5d1c

Please sign in to comment.