aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/travis-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/travis-test.sh')
-rwxr-xr-xruby/travis-test.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/ruby/travis-test.sh b/ruby/travis-test.sh
index 75db7d93..cbe7cd98 100755
--- a/ruby/travis-test.sh
+++ b/ruby/travis-test.sh
@@ -5,20 +5,24 @@ set -e
test_version() {
version=$1
- if [ "$version" == "jruby" ] ; then
+ if [ "$version" == "jruby-1.7" ] ; then
# No conformance tests yet -- JRuby is too broken to run them.
bash --login -c \
- "rvm install $version && rvm use $version && \
+ "rvm install $version && rvm use $version && rvm get head && \
which ruby && \
+ git clean -f && \
gem install bundler && bundle && \
rake test"
else
bash --login -c \
"rvm install $version && rvm use $version && \
which ruby && \
+ git clean -f && \
gem install bundler && bundle && \
rake test &&
- cd ../conformance && make test_ruby"
+ rake gc_test &&
+ cd ../conformance && make test_ruby &&
+ cd ../ruby/compatibility_tests/v3.0.0 && ./test.sh"
fi
}