logstash/ci/ci_integration.sh
Jordan Sissel bbd4d33682 Have ci scripts abort if any command exits nonzero
This should fix scenarios where `rake bootstrap` fails due to bundler
failures and then some future command like `rake test:core` fails
because there's missing gems.

Fixes #5162
2016-05-19 18:53:23 +00:00

10 lines
320 B
Bash
Executable file

#!/bin/sh
set -e
# Since we are using the system jruby, we need to make sure our jvm process
# uses at least 1g of memory, If we don't do this we can get OOM issues when
# installing gems. See https://github.com/elastic/logstash/issues/5179
export JRUBY_OPTS="-J-Xmx1g"
rake test:install-default
rake test:integration